Commit 9e75a2ec authored by Overbool's avatar Overbool Committed by Lucas Molas

fix(hamt): modify isValueNode

parent 7262fe17
......@@ -40,10 +40,7 @@ const (
)
func (ds *Shard) isValueNode() bool {
if ds.key != "" && ds.val != nil {
return true
}
return false
return ds.key != "" && ds.val != nil
}
// A Shard represents the HAMT. It should be initialized with NewShard().
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment