diff options
author | Gav Wood <i@gavwood.com> | 2014-04-05 05:21:38 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-04-05 05:21:38 +0800 |
commit | 023e17c69fd810cf35e45c4a19e82dc8280b629f (patch) | |
tree | c994daf3945f2acfa6de7bad15cf22fa11b44849 /txTest.cpp | |
parent | 1b4718f7849c66135df98061ffc4929847826e41 (diff) | |
download | dexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.tar dexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.tar.gz dexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.tar.bz2 dexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.tar.lz dexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.tar.xz dexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.tar.zst dexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.zip |
Version bump. Protocol bump. Support for configuration.
Diffstat (limited to 'txTest.cpp')
-rw-r--r-- | txTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(mine_local_simple_tx) auto txAmount = c1bal / 2u; auto gasPrice = 10 * szabo; auto gas = eth::c_callGas; - c1.transact(kp1.secret(), txAmount, gasPrice, gas, kp2.address(), bytes()); + c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice); //mine some more to include the transaction on chain mine(c1, 1); @@ -73,7 +73,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer) auto txAmount = c1bal / 2u; auto gasPrice = 10 * szabo; auto gas = eth::c_callGas; - c1.transact(kp1.secret(), txAmount, gasPrice, gas, kp2.address(), bytes()); + c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice); //mine some more to include the transaction on chain mine(c1, 1); @@ -104,7 +104,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer_fee_check) auto txAmount = c1StartBalance / 2u; auto gasPrice = 10 * szabo; auto gas = eth::c_callGas; - c1.transact(kp1.secret(), txAmount, gasPrice, gas, c2.address(), bytes()); + c1.transact(kp1.secret(), txAmount, c2.address(), bytes(), gas, gasPrice); //mine some more, this time with second client (so he can get fees from first client's tx) mine(c2, 1); |