aboutsummaryrefslogtreecommitdiffstats
path: root/crypto.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-10-17 00:43:48 +0800
committerGav Wood <i@gavwood.com>2014-10-17 00:43:48 +0800
commit165e9780f7b79bdead6eb6af7f5a857398159eb2 (patch)
tree87cb03af4af6a10b6160086c6774fe6add8d103d /crypto.cpp
parentea27fbe5f33e982babf13df25334dccd112dd96b (diff)
downloaddexon-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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto.cpp b/crypto.cpp
index 55feb1a5..ebe3f81a 100644
--- a/crypto.cpp
+++ b/crypto.cpp
@@ -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;