diff options
author | subtly <subtly@users.noreply.github.com> | 2014-10-28 00:41:25 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2014-10-28 00:41:25 +0800 |
commit | fb5248b27c242ecda40ff3a462c74f45e3290067 (patch) | |
tree | 10a1163ab8be4fed805b1de015d8b71caed831f0 /crypto.cpp | |
parent | 8dec48b6a3861507fb082b9684f1e33864da13f3 (diff) | |
parent | dba99342ba185c264b5b04ca36b9ac7e5ecd0a56 (diff) | |
download | dexon-solidity-fb5248b27c242ecda40ff3a462c74f45e3290067.tar.gz dexon-solidity-fb5248b27c242ecda40ff3a462c74f45e3290067.tar.zst dexon-solidity-fb5248b27c242ecda40ff3a462c74f45e3290067.zip |
Merge branch 'develop' into crypto
Diffstat (limited to 'crypto.cpp')
-rw-r--r-- | crypto.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -377,6 +377,7 @@ BOOST_AUTO_TEST_CASE(eth_keypairs) { eth::Transaction t; t.nonce = 0; + t.type = eth::Transaction::MessageCall; t.receiveAddress = h160(fromHex("944400f4b88ac9589a0f17ed4671da26bddb668b")); t.value = 1000; auto rlp = t.rlp(false); @@ -405,6 +406,7 @@ int cryptoTest() { eth::Transaction t; t.nonce = 0; + t.type = eth::Transaction::MessageCall; t.receiveAddress = h160(fromHex("944400f4b88ac9589a0f17ed4671da26bddb668b")); t.value = 1000; auto rlp = t.rlp(false); @@ -433,6 +435,7 @@ int cryptoTest() Transaction t; t.nonce = 0; t.value = 1; // 1 wei. + t.type = eth::Transaction::MessageCall; t.receiveAddress = toAddress(sha3("123")); bytes sig64 = toBigEndian(t.vrs.r) + toBigEndian(t.vrs.s); |