mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-17 13:06:14 +02:00
rpc: properly populate fee field in listpayments
This commit is contained in:
parent
61a7556931
commit
a1fb22eb8d
1 changed files with 1 additions and 0 deletions
|
|
@ -2927,6 +2927,7 @@ func (r *rpcServer) ListPayments(ctx context.Context,
|
|||
Value: int64(payment.Terms.Value.ToSatoshis()),
|
||||
CreationDate: payment.CreationDate.Unix(),
|
||||
Path: path,
|
||||
Fee: int64(payment.Fee.ToSatoshis()),
|
||||
PaymentPreimage: hex.EncodeToString(payment.PaymentPreimage[:]),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue