func (t *TreeTransaction) Get(key chainhash.Hash) (*chainhash.Hash, error) {
	h, err := t.tx.Get(key)
	if err != nil {
		return nil, err
	}
	if h == nil {
		out := emptyHash
		h = &out
	}

	return h, err
}
// Get gets a value from the tree.
Get gets a value from the tree.
// Get gets a value from the tree .
func (t *TreeTransaction) Get(key chainhash.Hash) (*chainhash.Hash, error) {
	h, err := t.tx.Get(key)
	if err != nil {
		return nil, err
	}
	if h == nil {
		out := emptyHash
		h = &out
	}
	return h, err
}
func ( t * TreeTransaction ) Get ( key chainhash . Hash ) ( * chainhash . Hash , error ) { h , err := t . tx . Get ( key ) if err != nil { return nil , err } if h == nil { out := emptyHash h = & out } return h , err }
Get gets a value from the tree.
Get gets a value from the tree .