Skip to content

Commit

Permalink
Remove GetNonce function (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal authored Jan 26, 2023
1 parent bf5ac4d commit 28f106a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions txrelayer/txrelayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ func (t *TxRelayerImpl) SendTransactionLocal(txn *ethgo.Transaction) (*ethgo.Rec
return t.waitForReceipt(txnHash)
}

// GetNonce queries nonce for the provided account
func (t *TxRelayerImpl) GetNonce(address ethgo.Address) (uint64, error) {
return t.client.Eth().GetNonce(address, ethgo.Pending)
}

func (t *TxRelayerImpl) waitForReceipt(hash ethgo.Hash) (*ethgo.Receipt, error) {
count := uint(0)

Expand Down

0 comments on commit 28f106a

Please sign in to comment.