Skip to content

Commit 2b3b0c8

Browse files
committed
chore(multiclient): reword comment
1 parent ae836e6 commit 2b3b0c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deployment/multiclient.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,7 @@ func (mc *MultiClient) SubscribeFilterLogs(ctx context.Context, q ethereum.Filte
287287
}
288288

289289
// WaitMined waits for a transaction to be mined and returns the receipt.
290-
// A timeout for this operation must be set in the context.
291-
// Note: retryConfig timeout settings are not used for this operation.
290+
// Note: retryConfig timeout settings are not used for this operation, a timeout can be set in the context.
292291
func (mc *MultiClient) WaitMined(ctx context.Context, tx *types.Transaction) (*types.Receipt, error) {
293292
mc.lggr.Debugf("Waiting for tx %s to be mined for chain %s", tx.Hash().Hex(), mc.chainName)
294293
// no retries here because we want to wait for the tx to be mined

0 commit comments

Comments
 (0)