Skip to content

Commit

Permalink
fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 11, 2024
1 parent bdd2a71 commit 7569269
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions baseapp/txexecutor.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func DefaultTxExecutor(_ context.Context,
if patcher != nil {
return patcher.Patch(results), nil
}
return nil, nil
return results, nil
}

func STMTxExecutor(
Expand Down Expand Up @@ -154,7 +154,9 @@ func STMTxExecutor(
); err != nil {
return nil, err
}

return patcher.Patch(results), nil
if patcher != nil {
return patcher.Patch(results), nil
}
return results, nil
}
}

0 comments on commit 7569269

Please sign in to comment.