func (m *MemoryBlockDB) SetFinalizedHead(c chainhash.Hash) error {
	m.lock.Lock()
	defer m.lock.Unlock()
	m.finalizedHead = c
	return nil
}
// SetFinalizedHead sets the finalized head in the database.
SetFinalizedHead sets the finalized head in the database.
// SetFinalizedHead sets the finalized head in the database .
func (m *MemoryBlockDB) SetFinalizedHead(c chainhash.Hash) error {
	m.lock.Lock()
	defer m.lock.Unlock()
	m.finalizedHead = c
	return nil
}
func ( m * MemoryBlockDB ) SetFinalizedHead ( c chainhash . Hash ) error { m . lock . Lock ( ) defer m . lock . Unlock ( ) m . finalizedHead = c return nil }
SetFinalizedHead sets the finalized head in the database.
SetFinalizedHead sets the finalized head in the database .