aboutsummaryrefslogtreecommitdiffstats
path: root/txTest.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-04-05 05:21:38 +0800
committerGav Wood <i@gavwood.com>2014-04-05 05:21:38 +0800
commit023e17c69fd810cf35e45c4a19e82dc8280b629f (patch)
treec994daf3945f2acfa6de7bad15cf22fa11b44849 /txTest.cpp
parent1b4718f7849c66135df98061ffc4929847826e41 (diff)
downloaddexon-solidity-023e17c69fd810cf35e45c4a19e82dc8280b629f.tar.gz
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.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);