mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Refactor api exits
This commit is contained in:
@@ -152,7 +152,13 @@ func (tx *wrappedL2) L2() *common.L2Tx {
|
||||
return &l2tx
|
||||
}
|
||||
|
||||
func genTestTxs(genericTxs []txSortFielder, usrIdxs []string, accs []common.Account, tokens []historydb.TokenWithUSD, blocks []common.Block) (usrTxs []testTx, allTxs []testTx) {
|
||||
func genTestTxs(
|
||||
genericTxs []txSortFielder,
|
||||
usrIdxs []string,
|
||||
accs []common.Account,
|
||||
tokens []historydb.TokenWithUSD,
|
||||
blocks []common.Block,
|
||||
) (usrTxs []testTx, allTxs []testTx) {
|
||||
usrTxs = []testTx{}
|
||||
allTxs = []testTx{}
|
||||
isUsrTx := func(tx testTx) bool {
|
||||
|
||||
Reference in New Issue
Block a user