- payment_hash: [u8; 32],
- /// The value, in thousandths of a satoshi, that this payment is for.
+ payment_hash: PaymentHash,
+ /// The value, in thousandths of a satoshi, that this payment is for. Note that you must
+ /// compare this to the expected value before accepting the payment (as otherwise you are
+ /// providing proof-of-payment for less than the value you expected!).