func (db *InMemoryDB) GetJustifiedHead(transaction ...interface{}) (*chainhash.Hash, error) {
	db.lock.Lock()
	defer db.lock.Unlock()
	return &db.justified, nil
}
// GetJustifiedHead gets the justified head block for a chain.
GetJustifiedHead gets the justified head block for a chain.
// GetJustifiedHead gets the justified head block for a chain .
func (db *InMemoryDB) GetJustifiedHead(transaction ...interface{}) (*chainhash.Hash, error) {
	db.lock.Lock()
	defer db.lock.Unlock()
	return &db.justified, nil
}
func ( db * InMemoryDB ) GetJustifiedHead ( transaction ... interface { } ) ( * chainhash . Hash , error ) { db . lock . Lock ( ) defer db . lock . Unlock ( ) return & db . justified , nil }
GetJustifiedHead gets the justified head block for a chain.
GetJustifiedHead gets the justified head block for a chain .