package merkle import ( "os" "fmt" ) func PrintIAVLNode(node *IAVLNode) { fmt.Println("==== NODE") printIAVLNode(node, 0) fmt.Println("==== END") } func printIAVLNode(node *IAVLNode, indent int) { indentPrefix := "" for i:=0; i b { return a } return b }