func (t *TreeMemoryCacheTransaction) DeleteNode(c chainhash.Hash) error {
	if !t.update {
		return errors.New("delete node called on View transaction")
	}

	delete(t.dirty, c)

	t.toRemove[c] = struct{}{}

	return nil
}
// DeleteNode deletes a node from the transaction.
DeleteNode deletes a node from the transaction.
// DeleteNode deletes a node from the transaction .
func (t *TreeMemoryCacheTransaction) DeleteNode(c chainhash.Hash) error {
	if !t.update {
		return errors.New("delete node called on View transaction")
	}
	delete(t.dirty, c)
	t.toRemove[c] = struct{}{}
	return nil
}
func ( t * TreeMemoryCacheTransaction ) DeleteNode ( c chainhash . Hash ) error { if ! t . update { return errors . New ( " " ) } delete ( t . dirty , c ) t . toRemove [ c ] = struct { } { } return nil }
DeleteNode deletes a node from the transaction.
DeleteNode deletes a node from the transaction .