lnd+lnwallet: extract default wallet password vars into lnwallet

This commit is contained in:
Wilmer Paulino
2018-04-08 17:34:00 -04:00
parent b32e0ced45
commit 1a47d182d3
2 changed files with 20 additions and 10 deletions

4
lnd.go
View File

@@ -196,8 +196,8 @@ func lndMain() error {
proxyOpts := []grpc.DialOption{grpc.WithTransportCredentials(cCreds)}
var (
privateWalletPw = []byte("hello")
publicWalletPw = []byte("public")
privateWalletPw = lnwallet.DefaultPrivatePassphrase
publicWalletPw = lnwallet.DefaultPublicPassphrase
birthday time.Time
recoveryWindow uint32
)