Skip to content

Commit 2540947

Browse files
authored
Update baseapp/abci.go
1 parent bed4c97 commit 2540947

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

baseapp/abci.go

+1
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,7 @@ func (app *BaseApp) internalFinalizeBlock(ctx context.Context, req *abci.Finaliz
903903
// where they adhere to the sdk.Tx interface.
904904
func (app *BaseApp) FinalizeBlock(req *abci.FinalizeBlockRequest) (res *abci.FinalizeBlockResponse, err error) {
905905
defer func() {
906+
// res could be nil if internal finalize block return error.
906907
if res == nil {
907908
return
908909
}

0 commit comments

Comments
 (0)