mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 00:05:15 +00:00
depth: remove updates assertion
This commit is contained in:
parent
217499528d
commit
3d1ca46c77
|
@ -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++
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user