Skip to content

Scanning fails when birthday block does not exist#57

Merged
nymius merged 1 commit intobitcoindevkit:masterfrom
nymius:fix/regtest-env
Apr 13, 2026
Merged

Scanning fails when birthday block does not exist#57
nymius merged 1 commit intobitcoindevkit:masterfrom
nymius:fix/regtest-env

Conversation

@nymius
Copy link
Copy Markdown
Collaborator

@nymius nymius commented Apr 13, 2026

When the wallet is just created, there is no blocks on the LocalChain, making the request of the birthday checkpoint impossible to serve.

This change avoids the issue by directly using the height and hash set on the wallet.birthday field.

When the wallet is just created, there is no blocks on the LocalChain,
making the request of the birthday checkpoint impossible to serve.

This change avoids the issue by directly using the height and hash set
on the wallet.birthday field.
@nymius
Copy link
Copy Markdown
Collaborator Author

nymius commented Apr 13, 2026

self ACK c5c22ad

@nymius nymius merged commit 542109a into bitcoindevkit:master Apr 13, 2026
4 checks passed
@nymius nymius deleted the fix/regtest-env branch April 13, 2026 18:06
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