lnd+lnwallet: extract default wallet password vars into lnwallet

This commit is contained in:
Wilmer Paulino committed 2018-05-31 17:23:58 -07:00
1 parent b32e0ced45
commit 1a47d182d3
2 files changed
+20 -10

No files matched your search

+2 -2
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
)