mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-06 15:10:59 +00:00
Makefile: add new recipes and linter features (#244)
* Makefile: add new recipes and linter features * expand linter coverage and fix issues * Update makefile * address PR nitterinos
This commit is contained in:
@@ -479,7 +479,7 @@ func TestWithdrawInternationalBank(t *testing.T) {
|
||||
|
||||
_, err := b.WithdrawFiatFundsToInternationalBank(withdrawFiatRequest)
|
||||
if err != common.ErrFunctionNotSupported {
|
||||
t.Errorf("Expected '%v', recieved: '%v'", common.ErrFunctionNotSupported, err)
|
||||
t.Errorf("Expected '%v', received: '%v'", common.ErrFunctionNotSupported, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -228,10 +228,7 @@ func (b *Bithumb) CancelAllOrders(orderCancellation exchange.OrderCancellation)
|
||||
if err != nil {
|
||||
return cancelAllOrdersResponse, err
|
||||
}
|
||||
|
||||
for _, order := range orders.Data {
|
||||
allOrders = append(allOrders, order)
|
||||
}
|
||||
allOrders = append(allOrders, orders.Data...)
|
||||
}
|
||||
|
||||
for _, order := range allOrders {
|
||||
|
||||
Reference in New Issue
Block a user