From b17a2deaf45b0ef7d3a449bc530066e3a41c78f0 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 18 Oct 2022 13:29:09 +0200 Subject: [PATCH 1/2] config_builder: use correct birthday when creating watch-only wallet --- config_builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_builder.go b/config_builder.go index 1f4551edc..6f427ffd2 100644 --- a/config_builder.go +++ b/config_builder.go @@ -1033,7 +1033,7 @@ func waitForWalletPassword(cfg *Config, "signer config disabled") } - birthday = initMsg.ExtendedKeyBirthday + birthday = initMsg.WatchOnlyBirthday newWallet, err = loader.CreateNewWatchingOnlyWallet( password, birthday, ) From 95bb1999b9fadb5d0fcaa9a7f6ba3055e12a6ee5 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 18 Oct 2022 13:29:17 +0200 Subject: [PATCH 2/2] docs: add release notes --- docs/release-notes/release-notes-0.16.0.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/release-notes/release-notes-0.16.0.md b/docs/release-notes/release-notes-0.16.0.md index 4c3e5439f..0a4bbab79 100644 --- a/docs/release-notes/release-notes-0.16.0.md +++ b/docs/release-notes/release-notes-0.16.0.md @@ -40,6 +40,10 @@ wallet](https://github.com/lightningnetwork/lnd/pull/6775). NOTE that funding PSBTs from imported tap scripts is not currently possible. +* [The wallet birthday is now used properly when creating a watch-only wallet + to avoid scanning the whole + chain](https://github.com/lightningnetwork/lnd/pull/7056). + ## Build [The project has updated to Go