lnrpc/invoicesrpc: add is_key_send flag to rpc invoice
This commit is contained in:
4 files changed
+642
-618
No files matched your search
@@ -146,6 +146,7 @@ func CreateRPCInvoice(invoice *channeldb.Invoice,
|
||||
State: state,
|
||||
Htlcs: rpcHtlcs,
|
||||
Features: CreateRPCFeatures(invoice.Terms.Features),
|
||||
IsKeySend: len(invoice.PaymentRequest) == 0,
|
||||
}
|
||||
|
||||
if preimage != channeldb.UnknownPreimage {
|
||||
|
||||
Reference in new issue
Block a user