func (db *InMemoryDB) SetJustifiedState(state primitives.State, transaction ...interface{}) error {
	db.lock.Lock()
	defer db.lock.Unlock()
	db.justifiedState = state
	return nil
}
// SetJustifiedState sets the justified state
SetJustifiedState sets the justified state
// SetJustifiedState sets the justified state
func (db *InMemoryDB) SetJustifiedState(state primitives.State, transaction ...interface{}) error {
	db.lock.Lock()
	defer db.lock.Unlock()
	db.justifiedState = state
	return nil
}
func ( db * InMemoryDB ) SetJustifiedState ( state primitives . State , transaction ... interface { } ) error { db . lock . Lock ( ) defer db . lock . Unlock ( ) db . justifiedState = state return nil }
SetJustifiedState sets the justified state
SetJustifiedState sets the justified state