diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-06 16:43:33 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-06 16:43:33 +0800 |
commit | 85ded720149de0ba977c89e9711eeb2da19dd763 (patch) | |
tree | d00c09e9c63c4bb896ea113dcb2a709ec8c4b0f8 /stateOriginal.cpp | |
parent | 74f4b33d6a98efccb71a01eb8f0aa049c5e882d5 (diff) | |
parent | 988ca7b6fcaf12c988f9ec489b9037efdc1fb4d4 (diff) | |
download | dexon-solidity-85ded720149de0ba977c89e9711eeb2da19dd763.tar dexon-solidity-85ded720149de0ba977c89e9711eeb2da19dd763.tar.gz dexon-solidity-85ded720149de0ba977c89e9711eeb2da19dd763.tar.bz2 dexon-solidity-85ded720149de0ba977c89e9711eeb2da19dd763.tar.lz dexon-solidity-85ded720149de0ba977c89e9711eeb2da19dd763.tar.xz dexon-solidity-85ded720149de0ba977c89e9711eeb2da19dd763.tar.zst dexon-solidity-85ded720149de0ba977c89e9711eeb2da19dd763.zip |
Merge branch 'stateTests' into NewStateTests
Conflicts:
test/TestHelper.cpp
test/vm.cpp
Diffstat (limited to 'stateOriginal.cpp')
-rw-r--r-- | stateOriginal.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/stateOriginal.cpp b/stateOriginal.cpp index e6b3ab95..8344894f 100644 --- a/stateOriginal.cpp +++ b/stateOriginal.cpp @@ -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(); } |