aboutsummaryrefslogtreecommitdiffstats
path: root/txTest.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-18 18:32:04 +0800
committerGav Wood <i@gavwood.com>2015-03-18 18:32:04 +0800
commite4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68 (patch)
tree464a808b35e081787a6653fc42d7b5e7f7b39de6 /txTest.cpp
parent8e61b06b2a426eb257a2b252cbe584d90bb440b3 (diff)
downloaddexon-solidity-e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68.tar
dexon-solidity-e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68.tar.gz
dexon-solidity-e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68.tar.bz2
dexon-solidity-e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68.tar.lz
dexon-solidity-e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68.tar.xz
dexon-solidity-e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68.tar.zst
dexon-solidity-e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68.zip
Rename transact -> submitTransaction (reflecting aynch nature).
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 e2a16e16..a70a68f0 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);