multi: add IsBlinded to lnrpc.Invoice for nicer UX
The BlindedPathConfig struct is nice for invoice creation but when we use the Invoice message for viewing an invoice, it would be nicer to see an "is_blinded" field.
This commit is contained in:
9 files changed
+1226
-1175
No files matched your search
@@ -183,6 +183,7 @@ func addInvoice(ctx *cli.Context) error {
|
||||
CltvExpiry: ctx.Uint64("cltv_expiry_delta"),
|
||||
Private: ctx.Bool("private"),
|
||||
IsAmp: ctx.Bool("amp"),
|
||||
IsBlinded: ctx.Bool("blind"),
|
||||
BlindedPathConfig: blindedPathCfg,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user