From c0cbd433a217ea1f88c2e529109ed38dacb0e60b Mon Sep 17 00:00:00 2001 From: Nina Barbakadze Date: Sat, 29 Jun 2024 22:57:08 +0200 Subject: [PATCH] style: lint --- rpc/core/tx.go | 2 +- rpc/core/tx_status_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rpc/core/tx.go b/rpc/core/tx.go index cfe9ffa872..63391c2746 100644 --- a/rpc/core/tx.go +++ b/rpc/core/tx.go @@ -251,7 +251,7 @@ func TxStatus(ctx *rpctypes.Context, hash []byte) (*ctypes.ResultTxStatus, error } // If the tx is not in the mempool, evicted, or committed, return unknown - return &ctypes.ResultTxStatus{Status: txStatusUnknown}, nil + return &ctypes.ResultTxStatus{Status: txStatusUnknown}, nil } // ProveSharesV2 creates a proof for a set of shares to the data root. diff --git a/rpc/core/tx_status_test.go b/rpc/core/tx_status_test.go index fea193fa39..d1869203a1 100644 --- a/rpc/core/tx_status_test.go +++ b/rpc/core/tx_status_test.go @@ -3,11 +3,11 @@ package core import ( "testing" + "github.com/golang/mock/gomock" + "github.com/stretchr/testify/assert" mock "github.com/tendermint/tendermint/rpc/core/mocks" rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types" types "github.com/tendermint/tendermint/types" - "github.com/golang/mock/gomock" - "github.com/stretchr/testify/assert" ) // TestTxStatus tests the TxStatus function in the RPC core