func (db *InMemoryDB) SetJustifiedHead(h chainhash.Hash, transaction ...interface{}) error {
	db.lock.Lock()
	defer db.lock.Unlock()
	db.justified = h
	return nil
}
// SetJustifiedHead sets the justified head for the chain in the database.
SetJustifiedHead sets the justified head for the chain in the database.
// SetJustifiedHead sets the justified head for the chain in the database .
func (db *InMemoryDB) SetJustifiedHead(h chainhash.Hash, transaction ...interface{}) error {
	db.lock.Lock()
	defer db.lock.Unlock()
	db.justified = h
	return nil
}
func ( db * InMemoryDB ) SetJustifiedHead ( h chainhash . Hash , transaction ... interface { } ) error { db . lock . Lock ( ) defer db . lock . Unlock ( ) db . justified = h return nil }
SetJustifiedHead sets the justified head for the chain in the database.
SetJustifiedHead sets the justified head for the chain in the database .