Merge pull request #5990 from guggero/lncli-payments-nil-map

cmd/lncli: fix nil map in payment req [skip ci]
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-11-16 12:00:36 -08:00
commit b0fa19e8b0
1 file changed
+1
+1
View File
@@ -293,6 +293,7 @@ func sendPayment(ctx *cli.Context) error {
req := &routerrpc.SendPaymentRequest{ req := &routerrpc.SendPaymentRequest{
PaymentRequest: ctx.String("pay_req"), PaymentRequest: ctx.String("pay_req"),
Amt: ctx.Int64("amt"), Amt: ctx.Int64("amt"),
DestCustomRecords: make(map[uint64][]byte),
} }
// We'll attempt to parse a payment address as well, given that // We'll attempt to parse a payment address as well, given that