Trie => SecureTrie

This commit is contained in:
obscuren
2015-03-03 12:25:44 +01:00
parent 1650b59cd9
commit b909a5ec18
3 changed files with 7 additions and 3 deletions

View File

@ -30,3 +30,7 @@ func (self *SecureTrie) Delete(key []byte) Node {
func (self *SecureTrie) DeleteString(key string) Node {
return self.Delete([]byte(key))
}
func (self *SecureTrie) Copy() *SecureTrie {
return &SecureTrie{self.Trie.Copy()}
}