mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-23 07:26:47 +00:00
Bugfix: Orderbook locks (#666)
This commit is contained in:
@@ -81,16 +81,6 @@ func TestHandleData(t *testing.T) {
|
||||
t.Error("Expected order to be modified to Active")
|
||||
}
|
||||
|
||||
err = b.WebsocketDataHandler(exchName, &order.Cancel{
|
||||
Exchange: fakePassExchange,
|
||||
ID: orderID,
|
||||
})
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
if origOrder.Status != order.Cancelled {
|
||||
t.Error("Expected order status to be cancelled")
|
||||
}
|
||||
// Send some gibberish
|
||||
err = b.WebsocketDataHandler(exchName, order.Stop)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user