mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
Update to follow DB spec
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// L2Tx is a struct that represents an already forged L2 tx
|
||||
type L2Tx struct {
|
||||
Tx
|
||||
Forged time.Time // time when received by the tx pool
|
||||
BatchNum BatchNum // Batch in which the tx was forged
|
||||
Position int // Position among all the L1Txs in that batch
|
||||
Position int // Position among all the L1Txs in that batch
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user