From 023e17c69fd810cf35e45c4a19e82dc8280b629f Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 4 Apr 2014 17:21:38 -0400 Subject: Version bump. Protocol bump. Support for configuration. --- txTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'txTest.cpp') diff --git a/txTest.cpp b/txTest.cpp index d1a5566d..02aa990d 100644 --- a/txTest.cpp +++ b/txTest.cpp @@ -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); -- cgit