diff --git a/go/host/l1/publisher.go b/go/host/l1/publisher.go index 1af8e902b..793586ac9 100644 --- a/go/host/l1/publisher.go +++ b/go/host/l1/publisher.go @@ -312,7 +312,7 @@ func (p *Publisher) PublishCrossChainBundle(bundle *common.ExtCrossChainBundle, tx, err := managementCtr.AddCrossChainMessagesRoot(transactor, [32]byte(bundle.LastBatchHash.Bytes()), bundle.L1BlockHash, bundle.L1BlockNum, bundle.CrossChainRootHashes, bundle.Signature, rollupNum, forkID) if err != nil { - if !errors.Is(err, errutil.ErrCrossChainBundleRepublished) { + if errors.Is(err, errutil.ErrCrossChainBundleRepublished) { p.logger.Info("Cross chain bundle already published. Proceeding without publishing", log.ErrKey, err, log.BundleHashKey, bundle.LastBatchHash) return nil }