ok now it works. Sortof. Still hangs, but hangs later, after writing pkh.

This commit is contained in:
Tadge Dryja 2015-12-31 12:14:08 -04:00 committed by Olaoluwa Osuntokun
parent 8cc057bbd4
commit 726ba629f5

@ -121,7 +121,15 @@ func createWallet(privPass, pubPass, userSeed []byte,
return err
}
manager.Close()
err = manager.Close()
if err != nil {
return err
}
err = db.Close()
if err != nil {
return err
}
fmt.Println("The lnwallet has been created successfully.")
return nil
}