diff options
author | Gav Wood <i@gavwood.com> | 2014-09-05 23:09:58 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-09-05 23:09:58 +0800 |
commit | 38dd3fb050cae0bc28205ecff8591fa44605efc7 (patch) | |
tree | a7a8c238e98f1ec02fe02aaf51c645bb494a27d3 /crypto.cpp | |
parent | d0d1e91a685dda428af9dd41a3afd83424dc5775 (diff) | |
download | dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar.gz dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar.zst dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.zip |
Project-wide reorganisation of namespaces.
Diffstat (limited to 'crypto.cpp')
-rw-r--r-- | crypto.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -29,7 +29,8 @@ #include <boost/test/unit_test.hpp> using namespace std; -using namespace eth; +using namespace dev; +using namespace dev::eth; BOOST_AUTO_TEST_CASE(crypto_tests) @@ -145,7 +146,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(eth::sha3(bytesConstRef(&pubkey).cropped(1))) << dec << endl; + cout << "SENDER: " << hex << toAddress(dev::eth::sha3(bytesConstRef(&pubkey).cropped(1))) << dec << endl; } #endif return 0; |