Skip to content

Commit ff331d3

Browse files
committed
cmd+doc: fix typo
1 parent 5011fd5 commit ff331d3

28 files changed

+28
-28
lines changed

cmd/chantools/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func newRootKey(cmd *cobra.Command, desc string) *rootKey {
162162
)
163163
cmd.Flags().StringVar(
164164
&r.WalletDB, "walletdb", "", "read the seed/master root key "+
165-
"to use fro "+desc+" from an lnd wallet.db file "+
165+
"to use for "+desc+" from an lnd wallet.db file "+
166166
"instead of asking for a seed or providing the "+
167167
"--rootkey flag",
168168
)

doc/chantools_chanbackup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ chantools chanbackup \
2727
-h, --help help for chanbackup
2828
--multi_file string lnd channel.backup file to create
2929
--rootkey string BIP32 HD root key of the wallet to use for creating the backup; leave empty to prompt for lnd 24 word aezeed
30-
--walletdb string read the seed/master root key to use fro creating the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
30+
--walletdb string read the seed/master root key to use for creating the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3131
```
3232

3333
### Options inherited from parent commands

doc/chantools_closepoolaccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ chantools closepoolaccount \
4242
--publish publish sweep TX to the chain API instead of just printing the TX
4343
--rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed
4444
--sweepaddr string address to recover the funds to; specify 'fromseed' to derive a new address from the seed automatically
45-
--walletdb string read the seed/master root key to use fro deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
45+
--walletdb string read the seed/master root key to use for deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
4646
```
4747

4848
### Options inherited from parent commands

doc/chantools_createwallet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ chantools createwallet \
2626
--generateseed generate a new seed instead of using an existing one
2727
-h, --help help for createwallet
2828
--rootkey string BIP32 HD root key of the wallet to use for creating the new wallet; leave empty to prompt for lnd 24 word aezeed
29-
--walletdb string read the seed/master root key to use fro creating the new wallet from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
29+
--walletdb string read the seed/master root key to use for creating the new wallet from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3030
--walletdbdir string the folder to create the new wallet.db file in
3131
```
3232

doc/chantools_derivekey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ chantools derivekey --identity
2929
--neuter don't output private key(s), only public key(s)
3030
--path string BIP32 derivation path to derive; must start with "m/"
3131
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
32-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
32+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3333
```
3434

3535
### Options inherited from parent commands

doc/chantools_doublespendinputs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ chantools doublespendinputs \
3434
--recoverywindow uint32 number of keys to scan per internal/external branch; output will consist of double this amount of keys (default 2500)
3535
--rootkey string BIP32 HD root key of the wallet to use for deriving the input keys; leave empty to prompt for lnd 24 word aezeed
3636
--sweepaddr string address to recover the funds to; specify 'fromseed' to derive a new address from the seed automatically
37-
--walletdb string read the seed/master root key to use fro deriving the input keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
37+
--walletdb string read the seed/master root key to use for deriving the input keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3838
```
3939

4040
### Options inherited from parent commands

doc/chantools_dumpbackup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ chantools dumpbackup \
2525
-h, --help help for dumpbackup
2626
--multi_file string lnd channel.backup file to dump
2727
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
28-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
28+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
2929
```
3030

3131
### Options inherited from parent commands

doc/chantools_fakechanbackup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ chantools fakechanbackup --from_channel_graph lncli_describegraph.json \
6565
--remote_node_addr string the remote node connection information in the format pubkey@host:port
6666
--rootkey string BIP32 HD root key of the wallet to use for encrypting the backup; leave empty to prompt for lnd 24 word aezeed
6767
--short_channel_id string the short channel ID in the format <blockheight>x<transactionindex>x<outputindex>
68-
--walletdb string read the seed/master root key to use fro encrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
68+
--walletdb string read the seed/master root key to use for encrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
6969
```
7070

7171
### Options inherited from parent commands

doc/chantools_filterbackup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ chantools filterbackup \
2727
-h, --help help for filterbackup
2828
--multi_file string lnd channel.backup file to filter
2929
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
30-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
30+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3131
```
3232

3333
### Options inherited from parent commands

doc/chantools_fixoldbackup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ chantools fixoldbackup \
2828
-h, --help help for fixoldbackup
2929
--multi_file string lnd channel.backup file to fix
3030
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
31-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
31+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3232
```
3333

3434
### Options inherited from parent commands

doc/chantools_forceclose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ chantools forceclose \
4343
--pendingchannels string channel input is in the format of lncli's pendingchannels format; specify '-' to read from stdin
4444
--publish publish force-closing TX to the chain API instead of just printing the TX
4545
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
46-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
46+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
4747
```
4848

4949
### Options inherited from parent commands

doc/chantools_genimportscript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ chantools genimportscript --format bitcoin-cli \
5151
--rescanfrom uint32 block number to rescan from; will be set automatically from the wallet birthday if the lnd 24 word aezeed is entered (default 500000)
5252
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
5353
--stdout write generated import script to standard out instead of writing it to a file
54-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
54+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
5555
```
5656

5757
### Options inherited from parent commands

doc/chantools_pullanchor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ chantools pullanchor \
3333
-h, --help help for pullanchor
3434
--rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed
3535
--sponsorinput string the input to use to sponsor the CPFP transaction; must be owned by the lnd node that owns the anchor output
36-
--walletdb string read the seed/master root key to use fro deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
36+
--walletdb string read the seed/master root key to use for deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3737
```
3838

3939
### Options inherited from parent commands

doc/chantools_recoverloopin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ chantools recoverloopin \
3636
--sweepaddr string address to recover the funds to; specify 'fromseed' to derive a new address from the seed automatically
3737
--txid string transaction id of the on-chain transaction that created the HTLC
3838
--vout uint32 output index of the on-chain transaction that created the HTLC
39-
--walletdb string read the seed/master root key to use fro deriving starting key from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
39+
--walletdb string read the seed/master root key to use for deriving starting key from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
4040
```
4141

4242
### Options inherited from parent commands

doc/chantools_rescueclosed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ chantools rescueclosed --fromsummary results/summary-xxxxxx.json \
6161
--num_keys uint32 the number of keys to derive for the brute force attack (default 5000)
6262
--pendingchannels string channel input is in the format of lncli's pendingchannels format; specify '-' to read from stdin
6363
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
64-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
64+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
6565
```
6666

6767
### Options inherited from parent commands

doc/chantools_rescuefunding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ chantools rescuefunding \
5050
--remotepubkey string in case a channel DB is not available (but perhaps a channel backup file), the remote multisig public key can be specified manually
5151
--rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed
5252
--sweepaddr string address to recover the funds to; specify 'fromseed' to derive a new address from the seed automatically
53-
--walletdb string read the seed/master root key to use fro deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
53+
--walletdb string read the seed/master root key to use for deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
5454
```
5555

5656
### Options inherited from parent commands

doc/chantools_rescuetweakedkey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ chantools rescuetweakedkey \
2929
--path string BIP32 derivation path to derive the starting key from; must start with "m/"
3030
--rootkey string BIP32 HD root key of the wallet to use for deriving starting key; leave empty to prompt for lnd 24 word aezeed
3131
--targetaddr string address the funds are locked in
32-
--walletdb string read the seed/master root key to use fro deriving starting key from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
32+
--walletdb string read the seed/master root key to use for deriving starting key from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3333
```
3434

3535
### Options inherited from parent commands

doc/chantools_showrootkey.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ chantools showrootkey
2424
--bip39 read a classic BIP39 seed and passphrase from the terminal instead of asking for lnd seed format or providing the --rootkey flag
2525
-h, --help help for showrootkey
2626
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
27-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
27+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
2828
```
2929

3030
### Options inherited from parent commands

doc/chantools_signmessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ chantools signmessage --msg=foobar
2424
-h, --help help for signmessage
2525
--msg string the message to sign
2626
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
27-
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
27+
--walletdb string read the seed/master root key to use for decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
2828
```
2929

3030
### Options inherited from parent commands

doc/chantools_signpsbt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ chantools signpsbt --fromrawpsbtfile <file_with_psbt>
2929
--psbt string Partially Signed Bitcoin Transaction to sign
3030
--rootkey string BIP32 HD root key of the wallet to use for signing the PSBT; leave empty to prompt for lnd 24 word aezeed
3131
--torawpsbtfile string the file to write the resulting signed raw, binary encoded PSBT packet to
32-
--walletdb string read the seed/master root key to use fro signing the PSBT from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
32+
--walletdb string read the seed/master root key to use for signing the PSBT from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3333
```
3434

3535
### Options inherited from parent commands

doc/chantools_signrescuefunding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ chantools signrescuefunding \
3030
-h, --help help for signrescuefunding
3131
--psbt string Partially Signed Bitcoin Transaction that was provided by the initiator of the channel to rescue
3232
--rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed
33-
--walletdb string read the seed/master root key to use fro deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
33+
--walletdb string read the seed/master root key to use for deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3434
```
3535

3636
### Options inherited from parent commands

doc/chantools_sweepremoteclosed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ chantools sweepremoteclosed \
4141
--recoverywindow uint32 number of keys to scan per derivation path (default 200)
4242
--rootkey string BIP32 HD root key of the wallet to use for sweeping the wallet; leave empty to prompt for lnd 24 word aezeed
4343
--sweepaddr string address to recover the funds to; specify 'fromseed' to derive a new address from the seed automatically
44-
--walletdb string read the seed/master root key to use fro sweeping the wallet from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
44+
--walletdb string read the seed/master root key to use for sweeping the wallet from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
4545
```
4646

4747
### Options inherited from parent commands

doc/chantools_sweeptimelock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ chantools sweeptimelock \
4141
--publish publish sweep TX to the chain API instead of just printing the TX
4242
--rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed
4343
--sweepaddr string address to recover the funds to; specify 'fromseed' to derive a new address from the seed automatically
44-
--walletdb string read the seed/master root key to use fro deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
44+
--walletdb string read the seed/master root key to use for deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
4545
```
4646

4747
### Options inherited from parent commands

doc/chantools_sweeptimelockmanual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ chantools sweeptimelockmanual \
6363
--rootkey string BIP32 HD root key of the wallet to use for deriving keys; leave empty to prompt for lnd 24 word aezeed
6464
--sweepaddr string address to recover the funds to; specify 'fromseed' to derive a new address from the seed automatically
6565
--timelockaddr string address of the time locked commitment output where the funds are stuck in
66-
--walletdb string read the seed/master root key to use fro deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
66+
--walletdb string read the seed/master root key to use for deriving keys from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
6767
```
6868

6969
### Options inherited from parent commands

doc/chantools_triggerforceclose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ chantools triggerforceclose \
3131
--peer string remote peer address (<pubkey>@<host>[:<port>])
3232
--rootkey string BIP32 HD root key of the wallet to use for deriving the identity key; leave empty to prompt for lnd 24 word aezeed
3333
--torproxy string SOCKS5 proxy to use for Tor connections (to .onion addresses)
34-
--walletdb string read the seed/master root key to use fro deriving the identity key from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
34+
--walletdb string read the seed/master root key to use for deriving the identity key from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3535
```
3636

3737
### Options inherited from parent commands

doc/chantools_zombierecovery_makeoffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ chantools zombierecovery makeoffer \
3535
--node1_keys string the JSON file generated in theprevious step ('preparekeys') command of node 1
3636
--node2_keys string the JSON file generated in theprevious step ('preparekeys') command of node 2
3737
--rootkey string BIP32 HD root key of the wallet to use for signing the offer; leave empty to prompt for lnd 24 word aezeed
38-
--walletdb string read the seed/master root key to use fro signing the offer from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
38+
--walletdb string read the seed/master root key to use for signing the offer from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag
3939
```
4040

4141
### Options inherited from parent commands

0 commit comments

Comments
 (0)