Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabarbakadze committed Jun 29, 2024
1 parent ced4424 commit c0cbd43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rpc/core/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions rpc/core/tx_status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0cbd43

Please sign in to comment.