func (rm *refmatcher) push(o *pqueue.OrderNode) { if o.Kind() == msg.BUY { rm.matchQueues.PushBuy(o) return } if o.Kind() == msg.SELL { rm.matchQueues.PushSell(o) return } panic("Unsupported trade kind pushed") }