Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed May 28, 2024
1 parent bf3e5d7 commit 68b7597
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/eth/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"testing"
"time"

"github.com/berachain/offchain-sdk/client/eth"
"github.com/stretchr/testify/assert"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
ethcoretypes "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethclient"

"github.com/berachain/offchain-sdk/client/eth"
"github.com/stretchr/testify/assert"
)

// This file tests the methods on the extended eth client.
Expand Down
1 change: 1 addition & 0 deletions core/transactor/tracker/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"

"github.com/berachain/offchain-sdk/client/eth"

"github.com/ethereum/go-ethereum/common"
)

Expand Down
2 changes: 1 addition & 1 deletion core/transactor/tracker/noncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (n *Noncer) Acquire() (uint64, bool) {
}
n.acquired[nonce] = struct{}{}

// isReplacing is true only if the returned nonce is already pending/queued in the mempool.
// Tx is "replacing" only if the returned nonce is already pending/queued in the mempool.
return nonce, n.inMempoolNonces.Remove(nonce)
}

Expand Down

0 comments on commit 68b7597

Please sign in to comment.