Skip to content

Commit

Permalink
fix(lint): golang-client lint errors (backport #3924) (#3925)
Browse files Browse the repository at this point in the history
Closes #3919
## Overview


Fix the lint errors of golangci-lint.
Merge this [PR](#3923)
to this branch.<hr>This is an automatic backport of pull request #3924
done by [Mergify](https://mergify.com).

---------

Co-authored-by: kobakaku <[email protected]>
Co-authored-by: Rootul P <[email protected]>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent b717c8d commit c11eeb3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/process_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ func (app *App) ProcessProposal(req abci.RequestProcessProposal) (resp abci.Resp
// iterate over all txs and ensure that all blobTxs are valid, PFBs are correctly signed and non
// blobTxs have no PFBs present
for idx, rawTx := range req.BlockData.Txs {
tx := rawTx
blobTx, isBlobTx := blob.UnmarshalBlobTx(rawTx)
if isBlobTx {
tx = blobTx.Tx
rawTx = blobTx.Tx
}

sdkTx, err := app.txConfig.TxDecoder()(tx)
sdkTx, err := app.txConfig.TxDecoder()(rawTx)
if err != nil {
if req.Header.Version.App == v1 {
// For appVersion 1, there was no block validity rule that all
Expand Down

0 comments on commit c11eeb3

Please sign in to comment.