aboutsummaryrefslogtreecommitdiffstats
path: root/MemTrie.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 /MemTrie.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 'MemTrie.cpp')
-rw-r--r--MemTrie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/MemTrie.cpp b/MemTrie.cpp
index d654179f..4879f267 100644
--- a/MemTrie.cpp
+++ b/MemTrie.cpp
@@ -55,7 +55,7 @@ public:
#endif
/// 256-bit hash of the node - this is a SHA-3/256 hash of the RLP of the node.
- h256 hash256() const { RLPStream s; makeRLP(s); return dev::eth::sha3(s.out()); }
+ h256 hash256() const { RLPStream s; makeRLP(s); return dev::sha3(s.out()); }
bytes rlp() const { RLPStream s; makeRLP(s); return s.out(); }
void mark() { m_hash256 = h256(); }
@@ -200,7 +200,7 @@ void MemTrieNode::putRLP(RLPStream& _parentStream) const
if (s.out().size() < 32)
_parentStream.APPEND_CHILD(s.out());
else
- _parentStream << dev::eth::sha3(s.out());
+ _parentStream << dev::sha3(s.out());
}
void TrieBranchNode::makeRLP(RLPStream& _intoStream) const