Skip to content

Commit

Permalink
Update pkg/user/tx_client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rootul P <[email protected]>
  • Loading branch information
ninabarbakadze and rootulp authored Sep 18, 2024
1 parent 30c1dc0 commit c2b72fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/user/tx_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func (client *TxClient) broadcastTx(ctx context.Context, txBytes []byte, signer
return resp.TxResponse, nil
}

// pruneTxTracker removes transactions from the local tx pool that are older than 10 minutes
// pruneTxTracker removes transactions from the local tx tracker that are older than 10 minutes
func (client *TxClient) pruneTxTracker() {
for hash, txInfo := range client.txTracker {
if time.Since(txInfo.timeStamp) >= txTrackerPruningInterval {
Expand Down

0 comments on commit c2b72fb

Please sign in to comment.