eclair-mobile icon indicating copy to clipboard operation
eclair-mobile copied to clipboard

[BUG]Payment in excess of the requested amount

Open dtrnk opened this issue 6 years ago • 1 comments

Payment in excess of the requested amount.

Current version 0.3.15

Android version 7.1.2

dtrnk avatar Jan 09 '19 07:01 dtrnk

Hello,

Could you give more details about this issue? Have you manually changed the amount in the pay window?

For privacy reasons, the Lightning protocol allows payers to override the requested amount, and indeed exceed the requested amount. Note that per protocol specs, you cannot pay more than twice the expected amount, see https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md#requirements-2.

This is the reason why the app lets you change the amount of a payment request when you pay with lightning. If you do, it will send the amount you've set and not the requested amount.

dpad85 avatar Jan 15 '19 16:01 dpad85