Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr committed Mar 6, 2024
1 parent c31b70d commit a30d2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synchronizer/synchronizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ func (s *ClientSynchronizer) processDeposit(deposit etherman.Deposit, blockID ui

func (s *ClientSynchronizer) processClaim(claim etherman.Claim, blockID uint64, dbTx pgx.Tx) error {
if !claim.MainnetFlag && claim.RollupIndex != uint64(s.etherMan.GetRollupID()-1) {
log.Debugf("Claim for different Rollup (RollupID: %d, RollupIndex: %d). Ignoring...", s.etherMan.GetRollupID(), claim.RollupIndex)
log.Infof("Claim for different Rollup (we are RollupID: %d) incomming claim: MainnetFlag: %v RollupIndex: %d). Ignoring...", s.etherMan.GetRollupID(), claim.MainnetFlag, claim.RollupIndex)
return nil
}
claim.BlockID = blockID
Expand Down

0 comments on commit a30d2bc

Please sign in to comment.