mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-03 17:26:57 +01:00
mobile: add note about using lnddir
On both Android and iOS (when not using a simulator) the application procees doesn't have write permissions to the default lnd directory. This commit adds a note about using the app directory given by the used platform.
This commit is contained in:
parent
f5a9813304
commit
56230f5de2
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ import (
|
|||
// The unlockerReady callback is called when the WalletUnlocker service is
|
||||
// ready, and rpcReady is called after the wallet has been unlocked and lnd is
|
||||
// ready to accept RPC calls.
|
||||
//
|
||||
// NOTE: On mobile platforms the '--lnddir` argument should be set to the
|
||||
// current app directory in order to ensure lnd has the permissions needed to
|
||||
// write to it.
|
||||
func Start(extraArgs string, unlockerReady, rpcReady Callback) {
|
||||
// Split the argument string on "--" to get separated command line
|
||||
// arguments.
|
||||
|
|
Loading…
Add table
Reference in a new issue