rpc: properly populate fee field in listpayments
This commit is contained in:
1 parent
61a7556931
commit
a1fb22eb8d
1 file changed
+1
@@ -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[:]),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user