depth: remove updates assertion

This commit is contained in:
c9s 2021-12-25 02:13:55 +08:00
parent 217499528d
commit 3d1ca46c77
2 changed files with 0 additions and 2 deletions

View File

@ -109,7 +109,6 @@ func TestDepthBuffer_ConcurrentRun(t *testing.T) {
})
buf.OnReady(func(snapshot types.SliceOrderBook, updates []Update) {
readyCnt++
assert.Greater(t, len(updates), 0)
})
buf.OnReset(func() {
resetCnt++

View File

@ -124,7 +124,6 @@ func NewStream(ex *Exchange, client *binance.Client, futuresClient *futures.Clie
}
stream.EmitBookSnapshot(snapshot)
for _, u := range updates {
stream.EmitBookUpdate(u.Object)
}