rpc: populate the payment route taken in resp to SendPaymentSync
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -1044,7 +1044,9 @@ func (r *rpcServer) SendPaymentSync(ctx context.Context,
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return &lnrpc.SendResponse{}, nil
|
return &lnrpc.SendResponse{
|
||||||
|
PaymentRoute: marshalRoute(route),
|
||||||
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddInvoice attempts to add a new invoice to the invoice database. Any
|
// AddInvoice attempts to add a new invoice to the invoice database. Any
|
||||||
|
|||||||
Reference in new issue
Block a user