lnrpc: Deprecate fee field in payment struct

This commit is contained in:
carla committed 2019-07-09 09:58:20 -04:00
1 parent b162595929
commit af10009c93
4 files changed
+365 -328

No files matched your search

+2
View File
@@ -4203,6 +4203,8 @@ func (r *rpcServer) ListPayments(ctx context.Context,
CreationDate: payment.Info.CreationDate.Unix(),
Path: path,
Fee: int64(route.TotalFees().ToSatoshis()),
FeeSat: int64(route.TotalFees().ToSatoshis()),
FeeMsat: int64(route.TotalFees()),
PaymentPreimage: hex.EncodeToString(preimage[:]),
PaymentRequest: string(payment.Info.PaymentRequest),
Status: status,