lnrpc: Deprecate fee field in payment struct
This commit is contained in:
1 parent
b162595929
commit
af10009c93
4 files changed
+365
-328
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user