aboutsummaryrefslogtreecommitdiffstats
path: root/crypto.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2014-10-28 00:41:25 +0800
committersubtly <subtly@users.noreply.github.com>2014-10-28 00:41:25 +0800
commitfb5248b27c242ecda40ff3a462c74f45e3290067 (patch)
tree10a1163ab8be4fed805b1de015d8b71caed831f0 /crypto.cpp
parent8dec48b6a3861507fb082b9684f1e33864da13f3 (diff)
parentdba99342ba185c264b5b04ca36b9ac7e5ecd0a56 (diff)
downloaddexon-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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto.cpp b/crypto.cpp
index 3d47d0b0..acb7b758 100644
--- a/crypto.cpp
+++ b/crypto.cpp
@@ -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);