multi: support sync freelist option within btcwallet

This commit is contained in:
Wilmer Paulino committed 2019-10-04 12:19:40 -04:00
1 parent 6765b8668a
commit 194a9dea81
12 files changed
+49 -32

No files matched your search

+3 -2
View File
@@ -1000,7 +1000,8 @@ func waitForWalletPassword(restEndpoints []net.Addr,
cfg.AdminMacPath, cfg.ReadMacPath, cfg.InvoiceMacPath,
}
pwService := walletunlocker.New(
chainConfig.ChainDir, activeNetParams.Params, macaroonFiles,
chainConfig.ChainDir, activeNetParams.Params, true,
macaroonFiles,
)
lnrpc.RegisterWalletUnlockerServer(grpcServer, pwService)
@@ -1093,7 +1094,7 @@ func waitForWalletPassword(restEndpoints []net.Addr,
chainConfig.ChainDir, activeNetParams.Params,
)
loader := wallet.NewLoader(
activeNetParams.Params, netDir, uint32(recoveryWindow),
activeNetParams.Params, netDir, true, recoveryWindow,
)
// With the seed, we can now use the wallet loader to create