diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-08-06 06:14:45 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-08-06 06:14:45 +0800 |
commit | 4626890913b9639c886544cd38863b3ecd116ddc (patch) | |
tree | c234322e6dc1963c03a420d0da37617fb8d50633 /contracts | |
parent | e0863fbd27ae087e3afea94179274dbd29811f66 (diff) | |
download | dexon-solidity-4626890913b9639c886544cd38863b3ecd116ddc.tar dexon-solidity-4626890913b9639c886544cd38863b3ecd116ddc.tar.gz dexon-solidity-4626890913b9639c886544cd38863b3ecd116ddc.tar.bz2 dexon-solidity-4626890913b9639c886544cd38863b3ecd116ddc.tar.lz dexon-solidity-4626890913b9639c886544cd38863b3ecd116ddc.tar.xz dexon-solidity-4626890913b9639c886544cd38863b3ecd116ddc.tar.zst dexon-solidity-4626890913b9639c886544cd38863b3ecd116ddc.zip |
update test to new Block/State refactoring - credit to winsvega and chriseth
Diffstat (limited to 'contracts')
-rw-r--r-- | contracts/Wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contracts/Wallet.cpp b/contracts/Wallet.cpp index 3c88afd9..5f9febd4 100644 --- a/contracts/Wallet.cpp +++ b/contracts/Wallet.cpp @@ -545,7 +545,7 @@ BOOST_AUTO_TEST_CASE(multisig_value_transfer) // 4 owners, set required to 3 BOOST_REQUIRE(callContractFunction("changeRequirement(uint256)", u256(3)) == encodeArgs()); // check that balance is and stays zero at destination address - h256 opHash("8f27f478ebcfaf28b0c354f4809ace8087000d668b89c8bc3b1b608bfdbe6654"); + h256 opHash("6244b4fa93f73e09db0ae52750095ca0364a76b72bc01723c97011fcb876cc9e"); BOOST_CHECK_EQUAL(m_state.balance(Address(0x05)), 0); m_sender = Address(0x12); BOOST_REQUIRE(callContractFunction("execute(address,uint256,bytes)", h256(0x05), 100, 0x60, 0x00) == encodeArgs(opHash)); @@ -596,7 +596,7 @@ BOOST_AUTO_TEST_CASE(revoke_transaction) BOOST_REQUIRE(callContractFunction("changeRequirement(uint256)", u256(3)) == encodeArgs()); // create a transaction Address deployer = m_sender; - h256 opHash("8f27f478ebcfaf28b0c354f4809ace8087000d668b89c8bc3b1b608bfdbe6654"); + h256 opHash("6244b4fa93f73e09db0ae52750095ca0364a76b72bc01723c97011fcb876cc9e"); BOOST_CHECK_EQUAL(m_state.balance(Address(0x05)), 0); m_sender = Address(0x12); BOOST_REQUIRE(callContractFunction("execute(address,uint256,bytes)", h256(0x05), 100, 0x60, 0x00) == encodeArgs(opHash)); |