mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add TxSelector L2Tx filtering logic
This commit is contained in:
@@ -32,6 +32,13 @@ const (
|
||||
IdxUserThreshold = Idx(userThreshold)
|
||||
)
|
||||
|
||||
var (
|
||||
// FFAddr is used to check if an ethereum address is 0xff..ff
|
||||
FFAddr = ethCommon.HexToAddress("0xffffffffffffffffffffffffffffffffffffffff")
|
||||
// EmptyAddr is used to check if an ethereum address is 0
|
||||
EmptyAddr = ethCommon.HexToAddress("0x0000000000000000000000000000000000000000")
|
||||
)
|
||||
|
||||
// Idx represents the account Index in the MerkleTree
|
||||
type Idx uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user