Skip to content

internal/ethapi: cap default tx sync timeout at RPC max#35356

Draft
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:internal-ethapi-cap-txsync-default-timeout
Draft

internal/ethapi: cap default tx sync timeout at RPC max#35356
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:internal-ethapi-cap-txsync-default-timeout

Conversation

@cuiweixie

Copy link
Copy Markdown
Contributor

SendRawTransactionSync capped an explicitly requested timeout but not the configured default. Clamp defaultTimeout to the max so a misconfigured default cannot wait longer than RPCTxSyncMaxTimeout.

SendRawTransactionSync capped an explicitly requested timeout but not
the configured default. Clamp defaultTimeout to the max so a misconfigured
default cannot wait longer than RPCTxSyncMaxTimeout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant