lnwallet: add dirty config

This commit is contained in:
Olaoluwa Osuntokun committed 2015-12-29 15:59:57 -06:00
1 parent f1717b9620
commit 7640e57cdc
3 files changed
+13 -27

No files matched your search

+3 -1
View File
@@ -299,7 +299,9 @@ func createTestWallet() (string, *LightningWallet, error) {
return "", nil, nil
}
wallet, err := NewLightningWallet(privPass, nil, testHdSeed[:], tempTestDir)
config := &Config{PrivatePass: privPass, HdSeed: testHdSeed[:],
DataDir: tempTestDir}
wallet, err := NewLightningWallet(config)
if err != nil {
return "", nil, err
}