Skip to content

fix: add missing poll interval capping in build_with_wallet #11320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ANtutov
Copy link

@ANtutov ANtutov commented Aug 17, 2025

The build_with_wallet method was missing the .map(|hint| hint.min(DEFAULT_UNKNOWN_CHAIN_BLOCK_TIME))
call that exists in the build method. This caused inconsistent poll interval behavior between
the two methods, where build_with_wallet could use unlimited chain block times instead of
capping them at 3 seconds like build() does.

Added the missing logic to ensure both methods behave identically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant