mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
API add bids endpoint
This commit is contained in:
@@ -159,7 +159,7 @@ func TestBids(t *testing.T) {
|
||||
err = historyDB.AddBids(bids)
|
||||
assert.NoError(t, err)
|
||||
// Fetch bids
|
||||
fetchedBids, err := historyDB.GetBids()
|
||||
fetchedBids, err := historyDB.GetAllBids()
|
||||
assert.NoError(t, err)
|
||||
// Compare fetched bids vs generated bids
|
||||
for i, bid := range fetchedBids {
|
||||
|
||||
Reference in New Issue
Block a user