diff options
author | Gav Wood <i@gavwood.com> | 2014-10-17 00:43:48 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-10-17 00:43:48 +0800 |
commit | 165e9780f7b79bdead6eb6af7f5a857398159eb2 (patch) | |
tree | 87cb03af4af6a10b6160086c6774fe6add8d103d /crypto.cpp | |
parent | ea27fbe5f33e982babf13df25334dccd112dd96b (diff) | |
download | dexon-solidity-165e9780f7b79bdead6eb6af7f5a857398159eb2.tar.gz dexon-solidity-165e9780f7b79bdead6eb6af7f5a857398159eb2.tar.zst dexon-solidity-165e9780f7b79bdead6eb6af7f5a857398159eb2.zip |
Correct namespace for a few things in devcrypto.
Added lower_bound to TrieDB.
Added nextActiveAddress to State.
Diffstat (limited to 'crypto.cpp')
-rw-r--r-- | crypto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ int cryptoTest() int ret = secp256k1_ecdsa_recover_compact((byte const*)hmsg.data(), (int)hmsg.size(), (byte const*)sig64.data(), pubkey.data(), &pubkeylen, 0, (int)t.vrs.v - 27); pubkey.resize(pubkeylen); cout << "RECPUB: " << dec << ret << " " << pubkeylen << " " << toHex(pubkey) << endl; - cout << "SENDER: " << hex << toAddress(dev::eth::sha3(bytesConstRef(&pubkey).cropped(1))) << dec << endl; + cout << "SENDER: " << hex << toAddress(dev::sha3(bytesConstRef(&pubkey).cropped(1))) << dec << endl; } #endif return 0; |