Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
chore(lint): fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear committed Jan 31, 2024
1 parent 5980606 commit 863ecb0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cosmos/runtime/txpool/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ package txpool
import (
"context"
"errors"
"fmt"
"math/big"
"sync"

Expand Down Expand Up @@ -128,7 +127,6 @@ func (m *Mempool) Insert(ctx context.Context, sdkTx sdk.Tx) error {
m.blockBuilderMu.RLock()
errs := m.TxPool.Add([]*ethtypes.Transaction{ethTx}, false, false)
m.blockBuilderMu.RUnlock()
fmt.Println("Inserting tx into mempool", len(errs))

// Handle case where a node broadcasts to itself, we don't want it to fail CheckTx.
// Note: it's safe to check errs[0] because geth returns `errs` of length 1.
Expand Down

0 comments on commit 863ecb0

Please sign in to comment.