Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ No `lnd` needed, but seed will be in `lnd`-specific [`aezeed` format](https://gi

### init-wallet
`init-wallet` has two modes:
- `--init-type=file` creates an `lnd` specific `wallet.db` file
- `--init-type=file` (the default) creates an `lnd` specific `wallet.db` file
- Only works if `lnd` is NOT running yet
- `--init-type=rpc` calls the `lnd` RPC to create a wallet
- Use this mode if you are using a remote database as `lnd`'s storage backend instead of bolt DB based file databases
Expand Down
2 changes: 1 addition & 1 deletion cmd_init_wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type initWalletCommand struct {
SecretSource string `long:"secret-source" description:"Where to read the secrets from to initialize the wallet with" choice:"file" choice:"k8s"`
File *secretSourceFile `group:"Flags for reading the secrets from files (use when --secret-source=file)" namespace:"file"`
K8s *secretSourceK8s `group:"Flags for reading the secrets from Kubernetes (use when --secret-source=k8s)" namespace:"k8s"`
InitType string `long:"init-type" description:"How to initialize the wallet" choice:"file" choice:"rpc"`
InitType string `long:"init-type" description:"How to initialize the wallet" choice:"file" (default) choice:"rpc"`
InitFile *initTypeFile `group:"Flags for initializing the wallet as a file (use when --init-type=file)" namespace:"init-file"`
InitRpc *initTypeRpc `group:"Flags for initializing the wallet through RPC (use when --init-type=rpc)" namespace:"init-rpc"`
}
Expand Down
Loading