rpc: populate the payment route taken in resp to SendPaymentSync
This commit is contained in:
parent
98ef563f40
commit
7669ac3918
@ -1044,7 +1044,9 @@ func (r *rpcServer) SendPaymentSync(ctx context.Context,
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user