From c11eeb3860f6c08e11aa29916362893f1b6a54fe Mon Sep 17 00:00:00 2001
From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com>
Date: Mon, 14 Oct 2024 10:24:07 +0000
Subject: [PATCH] fix(lint): golang-client lint errors (backport #3924) (#3925)
Closes https://github.com/celestiaorg/celestia-app/issues/3919
## Overview
Fix the lint errors of golangci-lint.
Merge this [PR](https://github.com/celestiaorg/celestia-app/pull/3923)
to this branch.
This is an automatic backport of pull request #3924
done by [Mergify](https://mergify.com).
---------
Co-authored-by: kobakaku <82507211+kobakaku@users.noreply.github.com>
Co-authored-by: Rootul P
---
app/process_proposal.go | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/app/process_proposal.go b/app/process_proposal.go
index 1653e27200..ae55762ad4 100644
--- a/app/process_proposal.go
+++ b/app/process_proposal.go
@@ -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