From e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 18 Mar 2015 11:32:04 +0100 Subject: [PATCH] Rename transact -> submitTransaction (reflecting aynch nature). --- txTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/txTest.cpp b/txTest.cpp index e2a16e16c..a70a68f01 100644 --- a/txTest.cpp +++ b/txTest.cpp @@ -49,7 +49,7 @@ BOOST_AUTO_TEST_CASE(mine_local_simple_tx) auto txAmount = c1bal / 2u; auto gasPrice = 10 * szabo; auto gas = dev::eth::c_callGas; - c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice); + c1.submitTransaction(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice); //mine some more to include the transaction on chain mine(c1, 1); @@ -77,7 +77,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer) auto txAmount = c1bal / 2u; auto gasPrice = 10 * szabo; auto gas = dev::eth::c_callGas; - c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice); + c1.submitTransaction(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice); //mine some more to include the transaction on chain mine(c1, 1); @@ -108,7 +108,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer_fee_check) auto txAmount = c1StartBalance / 2u; auto gasPrice = 10 * szabo; auto gas = dev::eth::c_callGas; - c1.transact(kp1.secret(), txAmount, c2.address(), bytes(), gas, gasPrice); + c1.submitTransaction(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);