mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 23:16:53 +00:00
binance/btse/rpcserver: Specify AnySide/AnyType for order retrieval and fix order index bugs (#1054)
This commit is contained in:
@@ -928,7 +928,7 @@ func (b *BTSE) GetOrderHistory(ctx context.Context, getOrdersRequest *order.GetO
|
||||
if !matchType(currentOrder[y].OrderType, orderDeref.Type) {
|
||||
continue
|
||||
}
|
||||
orderStatus, err := order.StringToOrderStatus(currentOrder[x].OrderState)
|
||||
orderStatus, err := order.StringToOrderStatus(currentOrder[y].OrderState)
|
||||
if err != nil {
|
||||
log.Errorf(log.ExchangeSys, "%s %v", b.Name, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user