Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Sep 20, 2024
1 parent fc541a5 commit b37d381
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/oracle/abci/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ func (h *ProposalHandler) PrepareProposalHandler() sdk.PrepareProposalHandler {
if err != nil {
return &cometabci.ResponsePrepareProposal{Txs: make([][]byte, 0)}, err
}

extendedCommitInfoBz, err := req.LocalLastCommit.Marshal()
if err != nil {
return &cometabci.ResponsePrepareProposal{Txs: make([][]byte, 0)}, err
}

injectedVoteExtTx := oracletypes.InjectedVoteExtensionTx{
ExchangeRateVotes: exchangeRateVotes,
ExtendedCommitInfo: extendedCommitInfoBz,
Expand Down

0 comments on commit b37d381

Please sign in to comment.