rpc: properly populate fee field in listpayments
This commit is contained in:
parent
61a7556931
commit
a1fb22eb8d
@ -2927,6 +2927,7 @@ func (r *rpcServer) ListPayments(ctx context.Context,
|
|||||||
Value: int64(payment.Terms.Value.ToSatoshis()),
|
Value: int64(payment.Terms.Value.ToSatoshis()),
|
||||||
CreationDate: payment.CreationDate.Unix(),
|
CreationDate: payment.CreationDate.Unix(),
|
||||||
Path: path,
|
Path: path,
|
||||||
|
Fee: int64(payment.Fee.ToSatoshis()),
|
||||||
PaymentPreimage: hex.EncodeToString(payment.PaymentPreimage[:]),
|
PaymentPreimage: hex.EncodeToString(payment.PaymentPreimage[:]),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user