aboutsummaryrefslogtreecommitdiffstats
path: root/trie/node.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-30 06:17:43 +0800
committerobscuren <geffobscura@gmail.com>2015-01-30 06:17:43 +0800
commit9022f5034f952405d02f89c905104c80f0c13b8f (patch)
treeff5f31857ea1f422d932986260d382beb57bc5dc /trie/node.go
parentbd992e7baf5da01e97fe4e0c85184716daafa7e5 (diff)
downloadgo-tangerine-9022f5034f952405d02f89c905104c80f0c13b8f.tar
go-tangerine-9022f5034f952405d02f89c905104c80f0c13b8f.tar.gz
go-tangerine-9022f5034f952405d02f89c905104c80f0c13b8f.tar.bz2
go-tangerine-9022f5034f952405d02f89c905104c80f0c13b8f.tar.lz
go-tangerine-9022f5034f952405d02f89c905104c80f0c13b8f.tar.xz
go-tangerine-9022f5034f952405d02f89c905104c80f0c13b8f.tar.zst
go-tangerine-9022f5034f952405d02f89c905104c80f0c13b8f.zip
default values removed
Diffstat (limited to 'trie/node.go')
-rw-r--r--trie/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/node.go b/trie/node.go
index a1f68480f..f28f24771 100644
--- a/trie/node.go
+++ b/trie/node.go
@@ -18,7 +18,7 @@ func (self *ValueNode) String() string { return self.fstring("") }
func (self *FullNode) String() string { return self.fstring("") }
func (self *ShortNode) String() string { return self.fstring("") }
func (self *ValueNode) fstring(ind string) string { return fmt.Sprintf("%x ", self.data) }
-func (self *HashNode) fstring(ind string) string { return fmt.Sprintf("%x ", self.key) }
+func (self *HashNode) fstring(ind string) string { return fmt.Sprintf("< %x > ", self.key) }
// Full node
func (self *FullNode) fstring(ind string) string {