File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -404,11 +404,6 @@ func (up *UnbondingPipeline) ProcessFailedTransactions(ctx context.Context) erro
404
404
return err
405
405
}
406
406
407
- if len (unbondingTransactions ) == 0 {
408
- up .logger .Info ("No failed unbonding transactions to process" )
409
- return nil
410
- }
411
-
412
407
defer func () {
413
408
if up .Metrics .Config .Enabled {
414
409
if err := up .pushMetrics (); err != nil {
@@ -417,6 +412,11 @@ func (up *UnbondingPipeline) ProcessFailedTransactions(ctx context.Context) erro
417
412
}
418
413
}()
419
414
415
+ if len (unbondingTransactions ) == 0 {
416
+ up .logger .Info ("No failed unbonding transactions to process" )
417
+ return nil
418
+ }
419
+
420
420
if err := up .processUnbondingTransactions (ctx , unbondingTransactions ); err != nil {
421
421
return err
422
422
}
You can’t perform that action at this time.
0 commit comments