diff options
author | Gav Wood <i@gavwood.com> | 2014-03-05 01:46:26 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-03-05 01:46:26 +0800 |
commit | f171b2f9767a09fa008ee6e6ba701311c96f966f (patch) | |
tree | 6c72eb645625b619da6f0dd29d3dc2497b0ca090 /trie.cpp | |
parent | ea1d3eb16eb445a4ad20bb7bd9f7aca219e8489a (diff) | |
download | dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.gz dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.zst dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.zip |
Repotted Common.h.
Diffstat (limited to 'trie.cpp')
-rw-r--r-- | trie.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -61,11 +61,11 @@ public: t.init(); for (auto const& k: ss) t.insert(k.first, k.second); - if (!o["root"].is_null() && o["root"].get_str() != asHex(t.root().asArray())) + if (!o["root"].is_null() && o["root"].get_str() != toHex(t.root().asArray())) { cwarn << "Test failed on permutation " << j; cwarn << "Test says:" << o["root"].get_str(); - cwarn << "Impl says:" << asHex(t.root().asArray()); + cwarn << "Impl says:" << toHex(t.root().asArray()); passed = false; } } @@ -154,7 +154,7 @@ int trieTest() t.insert("doe", "reindeer"); cout << hex << t.hash256() << endl; cout << RLP(t.rlp()) << endl; - cout << asHex(t.rlp()) << endl; + cout << toHex(t.rlp()) << endl; } { BasicMap m; |