package lockstep import ( "ripple/bug" "ripple/types" ) func (l *Lockstep) accountExists(id types.UserIdentifier) bool { _, ok := l.queues[id] return ok } func (l *Lockstep) mustGetAccount(id types.UserIdentifier) []types.Instruction { queue, ok := l.queues[id] if !ok { panic(bug.BugStateViolated) } return queue }