fix: remove useless condition (#20118)

Signed-off-by: ipangpang <arronipangpang@gmail.com>
This commit is contained in:
ipangpang
2024-04-22 06:10:34 +00:00
committed by GitHub
parent f31a6a3024
commit 4a7a6411ef
2 changed files with 1 additions and 8 deletions
+1 -5
View File
@@ -130,11 +130,7 @@ func NextBlock(app *runtime.App, ctx sdk.Context, jumpTime time.Duration) (sdk.C
Time: header.Time,
})
if err != nil {
return sdk.Context{}, err
}
return newCtx, err
return newCtx, nil
}
// SetupWithConfiguration initializes a new runtime.App. A Nop logger is set in runtime.App.