mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Fix historyDB GetBestBidCoordinator
This commit is contained in:
@@ -377,7 +377,7 @@ func (hdb *HistoryDB) GetBestBidCoordinator(slotNum int64) (*common.BidCoordinat
|
||||
err := meddler.QueryRow(
|
||||
hdb.db, bidCoord,
|
||||
`SELECT (
|
||||
SELECT default_slot_set_bid_slot_num
|
||||
SELECT default_slot_set_bid
|
||||
FROM auction_vars
|
||||
WHERE default_slot_set_bid_slot_num <= $1
|
||||
ORDER BY eth_block_num DESC LIMIT 1
|
||||
|
||||
Reference in New Issue
Block a user