Skip to content
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

Fix wallet:chainport:send fee selection when -a is used #5458

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

dguenther
Copy link
Member

Summary

wallet:chainport:send's fee selector wasn't respecting the -a flag.

Fixes IFL-3003

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

@dguenther dguenther requested a review from a team as a code owner September 29, 2024 23:12
account?: string
account: string | undefined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is effectively the same thing right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite, with string | undefined and no ?, the developer is required to specify account in the object (at least in the ways that we use this function). I added this change because I've seen this bug pretty much every time we've used selectFee: #3919

@dguenther dguenther merged commit 652b385 into staging Sep 30, 2024
10 checks passed
@dguenther dguenther deleted the fix-chainport-send-fee-selection branch September 30, 2024 17:00
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.

2 participants