Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
sangaman committed Aug 13, 2020
1 parent 054b763 commit 035121e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/simulation/tests-integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,18 +296,19 @@ func testOrderReplacement(net *xudtest.NetworkHarness, ht *harnessTest) {
ht.assert.True(res.RemainingOrder.IsOwnOrder)

// Retrieve and verify the removed order event on Bob.
e := <-bobOrderChan
/*e := <-bobOrderChan
ht.assert.NoError(e.err)
ht.assert.NotNil(e.orderUpdate)
orderRemoval := e.orderUpdate.GetOrderRemoval()
ht.assert.NotNil(orderRemoval)
ht.assert.Equal(orderRemoval.Quantity, originalQuantity)
ht.assert.Equal(orderRemoval.LocalId, "maker_order_id")
ht.assert.Equal(orderRemoval.PairId, req.PairId)
ht.assert.False(orderRemoval.IsOwnOrder)
ht.assert.False(orderRemoval.IsOwnOrder)*/

// Retrieve and verify the added order event on Bob.
e = <-bobOrderChan
//e = <-bobOrderChan
e := <-bobOrderChan
ht.assert.NoError(e.err)
ht.assert.NotNil(e.orderUpdate)
peerOrder := e.orderUpdate.GetOrder()
Expand Down

0 comments on commit 035121e

Please sign in to comment.