aboutsummaryrefslogtreecommitdiffstats
path: root/txTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'txTest.cpp')
-rw-r--r--txTest.cpp6
1 files changed, 3 insertions, 3 deletions
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);