diff --git a/state/bonsai.go b/state/bonsai.go index 7eb98568a..eae0f589f 100644 --- a/state/bonsai.go +++ b/state/bonsai.go @@ -15,6 +15,10 @@ type Bonsai struct { Tree *iavl.IAVLTree } +func (b *Bonsai) String() string { + return "Bonsai{" + b.Tree.String() + "}" +} + var _ SimpleDB = &Bonsai{} // NewBonsai wraps a merkle tree and tags it to track children