lnrpc: add IsAmp to Invoice

This commit is contained in:
Conner Fromknecht
2021-05-06 09:15:33 -07:00
parent 541041f4a8
commit 2be874f340
6 changed files with 926 additions and 896 deletions

View File

@ -4824,6 +4824,7 @@ func (r *rpcServer) AddInvoice(ctx context.Context,
CltvExpiry: invoice.CltvExpiry,
Private: invoice.Private,
RouteHints: routeHints,
Amp: invoice.IsAmp,
}
if invoice.RPreimage != nil {