We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 946a0a5 commit d7d7801Copy full SHA for d7d7801
lightning/src/util/events.rs
@@ -105,9 +105,7 @@ pub enum Event {
105
PaymentReceived {
106
/// The hash for which the preimage should be handed to the ChannelManager.
107
payment_hash: PaymentHash,
108
- /// The value, in thousandths of a satoshi, that this payment is for. Note that you must
109
- /// compare this to the expected value before accepting the payment (as otherwise you are
110
- /// providing proof-of-payment for less than the value you expected!).
+ /// The value, in thousandths of a satoshi, that this payment is for.
111
amt: u64,
112
/// Information for claiming this received payment, based on whether the purpose of the
113
/// payment is to pay an invoice or to send a spontaneous payment.
0 commit comments