diff options
author | Gav Wood <i@gavwood.com> | 2014-11-05 22:28:29 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-11-05 22:28:29 +0800 |
commit | d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da (patch) | |
tree | d284facd19a5b24bf29bdddac4bfb9c8d5251b76 /crypto.cpp | |
parent | aa41f1c6f1f0cbed7fe21005aab6562cb2588ea4 (diff) | |
download | dexon-solidity-d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da.tar dexon-solidity-d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da.tar.gz dexon-solidity-d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da.tar.bz2 dexon-solidity-d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da.tar.lz dexon-solidity-d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da.tar.xz dexon-solidity-d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da.tar.zst dexon-solidity-d7da8b1aaa3840aa5aa6cfbe4f5635225bfb14da.zip |
Documentation for Transaction.
Diffstat (limited to 'crypto.cpp')
-rw-r--r-- | crypto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -397,8 +397,8 @@ int cryptoTest() auto msg = t.rlp(false); cout << "TX w/o SIG: " << RLP(msg) << endl; - cout << "RLP(TX w/o SIG): " << toHex(t.rlpString(false)) << endl; - std::string hmsg = sha3(t.rlpString(false), false); + cout << "RLP(TX w/o SIG): " << toHex(t.rlp(false)) << endl; + std::string hmsg = sha3(t.rlp(false), false); cout << "SHA256(RLP(TX w/o SIG)): 0x" << toHex(hmsg) << endl; bytes privkey = sha3Bytes("123"); |