rpc: populate the payment route taken in resp to SendPaymentSync

This commit is contained in:
Olaoluwa Osuntokun committed 2017-02-21 01:42:58 -08:00
1 parent 98ef563f40
commit 7669ac3918
1 file changed
+3 -1
+3 -1
View File
@@ -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