func (db *InMemoryDB) GetJustifiedState(transaction ...interface{}) (*primitives.State, error) {
	db.lock.Lock()
	defer db.lock.Unlock()
	return &db.justifiedState, nil
}
// GetJustifiedState gets the justified state from the database.
GetJustifiedState gets the justified state from the database.
// GetJustifiedState gets the justified state from the database .
func (db *InMemoryDB) GetJustifiedState(transaction ...interface{}) (*primitives.State, error) {
	db.lock.Lock()
	defer db.lock.Unlock()
	return &db.justifiedState, nil
}
func ( db * InMemoryDB ) GetJustifiedState ( transaction ... interface { } ) ( * primitives . State , error ) { db . lock . Lock ( ) defer db . lock . Unlock ( ) return & db . justifiedState , nil }
GetJustifiedState gets the justified state from the database.
GetJustifiedState gets the justified state from the database .