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

Test: No address reuse for single descriptor #661

Conversation

evanlinjin
Copy link
Member

@evanlinjin evanlinjin commented Jul 9, 2022

Description

Just a simple new test.

This test is to ensure there are no regressions when we later change
internal logic of Wallet. A single descriptor wallet should always get
a new address with AddressIndex::New even if we alternate grabbing
internal/external keychains.

I thought of adding this during work on #647

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

This test is to ensure there are no regressions when we later change
internal logic of `Wallet`. A single descriptor wallet should always get
a new address with `AddressIndex::New` even if we alternate grabbing
internal/external keychains.
Copy link
Contributor

@rajarshimaitra rajarshimaitra left a comment

Choose a reason for hiding this comment

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

tACK 2c02a44

LGTM..

@danielabrozzoni
Copy link
Member

tACK 2c02a44

@danielabrozzoni danielabrozzoni merged commit 277e18f into bitcoindevkit:master Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants