Skip to content

Commit

Permalink
fix error return
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Aug 27, 2024
1 parent b554bcb commit 2d1f479
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions baseapp/abci_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ func (h *DefaultProposalHandler) PrepareProposalHandler() sdk.PrepareProposalHan
return true
})

if err != nil {
return nil, err
}

return &abci.PrepareProposalResponse{Txs: h.txSelector.SelectedTxs(ctx)}, nil
}
}
Expand Down

0 comments on commit 2d1f479

Please sign in to comment.