lnwallet: expose required account parameter for WalletController methods

This commit is contained in:
Wilmer Paulino committed 2021-04-05 15:41:05 -07:00
1 parent a620ce3682
commit f38bf4d7fa
11 files changed
+239 -96

No files matched your search

+1
View File
@@ -676,6 +676,7 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error
NewAddress: func() (btcutil.Address, error) {
return activeChainControl.Wallet.NewAddress(
lnwallet.WitnessPubKey, false,
lnwallet.DefaultAccountName,
)
},
NodeKeyECDH: keychain.NewPubKeyECDH(