Elenpay / NodeGuard

NodeGuard is a treasury management solution for Lightning nodes
GNU Affero General Public License v3.0
18 stars 4 forks source link

Hotfix: Unable to create wallets #323

Closed RodriFS closed 1 year ago

RodriFS commented 1 year ago

When we create a new wallet, we check the last part of the derivation path of the last wallet created, and add 1 to generate a wallet with an increased derivation path. We called this the "Internal wallet subderivation path" With the importing of the descriptor keys, then the last wallets created didn't have an internal wallet subderivation path, so the nodeguard wanted to start from 0 again. We now check only wallets that have an internal wallet finger print, that means it was created by nodeguard