Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge incorrect_payment_amount and unknown_payment_hash errors
Because the errors are separate, if an intermediate node sees a payment hash for relay and has several guesses as to the destination of the payment, they can check their guesses by sending HTLCs with the same payment hashes first and seeing the error sent back. By adding the htlc_msat that the final node received to unknown_or_incorrect_payment_details, origin nodes can still identify bad value-relaying peers.
- Loading branch information