func (m *MemoryBlockDB) GetFinalizedHead() (*chainhash.Hash, error) {
	m.lock.Lock()
	defer m.lock.Unlock()
	return &m.finalizedHead, nil
}
// GetFinalizedHead returns the hash of the finalized head.
GetFinalizedHead returns the hash of the finalized head.
// GetFinalizedHead returns the hash of the finalized head .
func (m *MemoryBlockDB) GetFinalizedHead() (*chainhash.Hash, error) {
	m.lock.Lock()
	defer m.lock.Unlock()
	return &m.finalizedHead, nil
}
func ( m * MemoryBlockDB ) GetFinalizedHead ( ) ( * chainhash . Hash , error ) { m . lock . Lock ( ) defer m . lock . Unlock ( ) return & m . finalizedHead , nil }
GetFinalizedHead returns the hash of the finalized head.
GetFinalizedHead returns the hash of the finalized head .