ok now it works. Sortof. Still hangs, but hangs later, after writing pkh.
This commit is contained in:
parent
8cc057bbd4
commit
726ba629f5
@ -121,7 +121,15 @@ func createWallet(privPass, pubPass, userSeed []byte,
|
|||||||
return err
|
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.")
|
fmt.Println("The lnwallet has been created successfully.")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user