mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +01:00
Add circuit configuration to node config
- Remove MaxL1CoordTxs parameter from the TxSelector because this parameter doesn't exist - Use ChainID in l1tx byte encoding - Pass txprocessor configuration to batch builder via an existing parameter
This commit is contained in:
@@ -441,7 +441,7 @@ func (tp *TxProcessor) ProcessL1Tx(exitTree *merkletree.MerkleTree, tx *common.L
|
||||
if tp.zki != nil {
|
||||
// Txs
|
||||
var err error
|
||||
tp.zki.TxCompressedData[tp.i], err = tx.TxCompressedData()
|
||||
tp.zki.TxCompressedData[tp.i], err = tx.TxCompressedData(tp.config.ChainID)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
return nil, nil, false, nil, tracerr.Wrap(err)
|
||||
|
||||
Reference in New Issue
Block a user