mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
API add slots endpoints
This commit is contained in:
@@ -108,7 +108,7 @@ func TestGetBids(t *testing.T) {
|
||||
// slotNum, in reverse order
|
||||
fetchedBids = []testBid{}
|
||||
path = fmt.Sprintf("%s?slotNum=%d&limit=%d&fromItem=", endpoint, slotNum, limit)
|
||||
err = doGoodReqPaginated(path, historydb.OrderAsc, &testBidsResponse{}, appendIter)
|
||||
err = doGoodReqPaginated(path, historydb.OrderDesc, &testBidsResponse{}, appendIter)
|
||||
assert.NoError(t, err)
|
||||
flippedBids := []testBid{}
|
||||
for i := len(slotNumBids) - 1; i >= 0; i-- {
|
||||
|
||||
Reference in New Issue
Block a user