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: actually run rpc_fundrawtransaction with and without HD feature #5907

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

knst
Copy link
Collaborator

@knst knst commented Feb 28, 2024

Issue being fixed or feature implemented

Due to double initialization of extra_args rpc_fundrawtransaction always test with enabled or disabled HD wallets (which is enabled by default).

What was done?

Fixes double initialization and inversion of condition due to hd wallets enabled by default since #5807

How Has This Been Tested?

Run functional tests and watch ps aux during running to ensure that -usehd is set properly.

Breaking Changes

N/A

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone

@knst knst added this to the 20.1 milestone Feb 28, 2024
@knst
Copy link
Collaborator Author

knst commented Feb 28, 2024

@knst knst added the backport-candidate-20.x label Feb 28, 2024

not sure if there's any value to backport to possible 20.0.5 because it doesn't fix wallet behavior but it fixes tests only.

@knst knst force-pushed the hd-fix-rpc-fundtransaction branch from f109b97 to cc206dc Compare February 29, 2024 07:57
@knst knst requested a review from UdjinM6 February 29, 2024 08:18
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

Removed label; as I don't think a test fix makes sense to backport; otherwise utACK

@PastaPastaPasta PastaPastaPasta force-pushed the hd-fix-rpc-fundtransaction branch from cc206dc to a392be6 Compare March 4, 2024 05:39
@PastaPastaPasta PastaPastaPasta merged commit 9d8b06e into dashpay:develop Mar 4, 2024
5 checks passed
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.

3 participants