func (m *MemoryBlockDB) SetChainTip(c chainhash.Hash) error {
	m.lock.Lock()
	defer m.lock.Unlock()
	m.tip = c
	return nil
}
// SetChainTip sets the tip of the chain.
SetChainTip sets the tip of the chain.
// SetChainTip sets the tip of the chain .
func (m *MemoryBlockDB) SetChainTip(c chainhash.Hash) error {
	m.lock.Lock()
	defer m.lock.Unlock()
	m.tip = c
	return nil
}
func ( m * MemoryBlockDB ) SetChainTip ( c chainhash . Hash ) error { m . lock . Lock ( ) defer m . lock . Unlock ( ) m . tip = c return nil }
SetChainTip sets the tip of the chain.
SetChainTip sets the tip of the chain .