From b8dec47d1f9a75d74104e0d29e83811ce552be10 Mon Sep 17 00:00:00 2001 From: lesterli Date: Tue, 20 Aug 2024 16:30:08 +0800 Subject: [PATCH] nit --- op-node/rollup/finality/finalizer.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/op-node/rollup/finality/finalizer.go b/op-node/rollup/finality/finalizer.go index 9df112fe5d34..e201b72ad047 100644 --- a/op-node/rollup/finality/finalizer.go +++ b/op-node/rollup/finality/finalizer.go @@ -360,8 +360,6 @@ func (fi *Finalizer) findLastBtcFinalizedL2Block( } lastFinalizedBlockNumber, err := fi.babylonFinalityClient.QueryBlockRangeBabylonFinalized(queryBlocks) - fi.log.Debug("QueryBlockRangeBabylonFinalized", "lastFinalizedBlockNumber", lastFinalizedBlockNumber) - if err != nil { // on CriticalError, the chain will get stuck because // op-e2e/actions/l2_verifier.go will detect it and panic @@ -374,6 +372,7 @@ func (fi *Finalizer) findLastBtcFinalizedL2Block( } if lastFinalizedBlockNumber != nil { + fi.log.Debug("QueryBlockRangeBabylonFinalized", "lastFinalizedBlockNumber", *lastFinalizedBlockNumber) res := l2Blocks[*lastFinalizedBlockNumber] return &res }