mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Feature/merge history l2 tables (#156)
* WIP rebase * Combine both SQL DBs * API and DB refactor
This commit is contained in:
@@ -25,7 +25,7 @@ func (t txs) Swap(i, j int) {
|
||||
t[i], t[j] = t[j], t[i]
|
||||
}
|
||||
func (t txs) Less(i, j int) bool {
|
||||
return t[i].AbsoluteFee > t[j].AbsoluteFee
|
||||
return *t[i].AbsoluteFee > *t[j].AbsoluteFee
|
||||
}
|
||||
|
||||
// TxSelector implements all the functionalities to select the txs for the next batch
|
||||
|
||||
Reference in New Issue
Block a user