aboutsummaryrefslogtreecommitdiffstats
path: root/trie.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-03-05 01:46:26 +0800
committerGav Wood <i@gavwood.com>2014-03-05 01:46:26 +0800
commitf171b2f9767a09fa008ee6e6ba701311c96f966f (patch)
tree6c72eb645625b619da6f0dd29d3dc2497b0ca090 /trie.cpp
parentea1d3eb16eb445a4ad20bb7bd9f7aca219e8489a (diff)
downloaddexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.gz
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.bz2
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.lz
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.xz
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.tar.zst
dexon-solidity-f171b2f9767a09fa008ee6e6ba701311c96f966f.zip
Repotted Common.h.
Diffstat (limited to 'trie.cpp')
-rw-r--r--trie.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/trie.cpp b/trie.cpp
index 3092238c..419602d6 100644
--- a/trie.cpp
+++ b/trie.cpp
@@ -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;