diff options
author | subtly <subtly@users.noreply.github.com> | 2014-11-05 23:11:06 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2014-11-05 23:11:06 +0800 |
commit | 90a0998968e88dc9fc65476c963b028c0eeaeff4 (patch) | |
tree | 01c116b51ff940a550c03356d793abfc661a8075 /state.cpp | |
parent | 25811ce5ff6575d1cfc7238a40b0347248336693 (diff) | |
parent | aa41f1c6f1f0cbed7fe21005aab6562cb2588ea4 (diff) | |
download | dexon-solidity-90a0998968e88dc9fc65476c963b028c0eeaeff4.tar.gz dexon-solidity-90a0998968e88dc9fc65476c963b028c0eeaeff4.tar.zst dexon-solidity-90a0998968e88dc9fc65476c963b028c0eeaeff4.zip |
Merge branch 'develop' into crypto
Diffstat (limited to 'state.cpp')
-rw-r--r-- | state.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -65,12 +65,7 @@ int stateTest() // Inject a transaction to transfer funds from miner to me. bytes tx; { - Transaction t; - t.nonce = s.transactionsFrom(myMiner.address()); - t.value = 1000; // 1e3 wei. - t.type = eth::Transaction::MessageCall; - t.receiveAddress = me.address(); - t.sign(myMiner.secret()); + Transaction t(1000, 0, 0, me.address(), bytes(), s.transactionsFrom(myMiner.address()), myMiner.secret()); assert(t.sender() == myMiner.address()); tx = t.rlp(); } |