diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index cbd10d1e..fb618d2c 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -60,7 +60,7 @@ var newAddressCommand = cli.Command{ Description: "Generate a wallet new address. Address-types has to be one of:\n" + " - p2wkh: Push to witness key hash\n" + " - np2wkh: Push to nested witness key hash\n" + - " - p2pkh: Push to public key hash", + " - p2pkh: Push to public key hash (can't be used to fund channels)", Action: newAddress, } diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index 4470e0ec..be273452 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -60,7 +60,7 @@ type ErrInsufficientFunds struct { } func (e *ErrInsufficientFunds) Error() string { - return fmt.Sprintf("not enough outputs to create funding transaction,"+ + return fmt.Sprintf("not enough witness outputs to create funding transaction,"+ " need %v only have %v available", e.amountAvailable, e.amountSelected) }