mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Extend Coordinator tests
This commit is contained in:
@@ -143,8 +143,11 @@ func poolMarkInvalidOldNonces(l2DB *l2db.L2DB, stateDB *statedb.LocalStateDB,
|
||||
return tracerr.Wrap(err)
|
||||
} else if idx <= lastIdx {
|
||||
return tracerr.Wrap(fmt.Errorf("account with idx %v not found: %w", idx, err))
|
||||
} else {
|
||||
return tracerr.Wrap(fmt.Errorf("unexpected stateDB error with idx %v: %w", idx, err))
|
||||
}
|
||||
}
|
||||
fmt.Printf("DBG acc: %#v\n", acc)
|
||||
idxsNonce[i].Idx = idx
|
||||
idxsNonce[i].Nonce = acc.Nonce
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user