-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
account+rpcserver: bump account key index on recovery
Fixes #372. This commit fixes the issue that if the lnd node the trader client is connected to was also restored from seed, it is starting at account key derivation index 0. So when recovering accounts we need to make sure we re-derive the right number of keys from the wallet in order to allow properly creating new accounts with the recovered node.
- Loading branch information
Showing
2 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters