// Used to check the restored tree to make sure some of the global prefixes must not exist.
Used to check the restored tree to make sure some of the global prefixes must not exist.
// Used to check the restored tree to make sure some of the global prefixes must not exist .
func checkRestoredDefaults(t *testing.T, tree *avl.Tree) {
	val, exist := tree.Lookup(keyRewardWithdrawals[:])
	assert.False(t, exist)
	assert.Nil(t, val)
}
func checkRestoredDefaults ( t * testing . T , tree * avl . Tree ) { val , exist := tree . Lookup ( keyRewardWithdrawals [ : ] ) assert . False ( t , exist ) assert . Nil ( t , val ) }
Used to check the restored tree to make sure some of the global prefixes must not exist.
Used to check the restored tree to make sure some of the global prefixes must not exist .