mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Add usefull methods for reorg
This commit is contained in:
@@ -15,8 +15,7 @@ type L2Tx struct {
|
||||
Amount *big.Int `meddler:"amount,bigint"`
|
||||
Fee FeeSelector `meddler:"fee"`
|
||||
Nonce Nonce `meddler:"nonce"`
|
||||
// Extra metadata, may be uninitialized
|
||||
Type TxType `meddler:"-"` // optional, descrives which kind of tx it's
|
||||
Type TxType `meddler:"tx_type"`
|
||||
}
|
||||
|
||||
func (tx *L2Tx) Tx() *Tx {
|
||||
|
||||
Reference in New Issue
Block a user