electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit d439b3c308774cab2c6e6512bcf91232cddd6447
parent 1ebd1baebf50ce7aacd61e6ba6d288d1a0b8d860
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 10 Oct 2018 10:31:00 +0200

fix previous commit

Diffstat:
Melectrum/lnbase.py | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/electrum/lnbase.py b/electrum/lnbase.py @@ -1043,12 +1043,12 @@ class Peer(PrintError): self.print_error("UPDATE_FAIL_HTLC", repr(code), data) # handle some specific error codes failure_codes = { - OnionFailureCode.TEMPORARY_CHANNEL_FAILURE: 2 - OnionFailureCode.AMOUNT_BELOW_MINIMUM: 10 - OnionFailureCode.FEE_INSUFFICIENT: 10 - OnionFailureCode.INCORRECT_CLTV_EXPIRY: 6 - OnionFailureCode.EXPIRY_TOO_SOON: 2 - OnionFailureCode.CHANNEL_DISABLED: 4 + OnionFailureCode.TEMPORARY_CHANNEL_FAILURE: 2, + OnionFailureCode.AMOUNT_BELOW_MINIMUM: 10, + OnionFailureCode.FEE_INSUFFICIENT: 10, + OnionFailureCode.INCORRECT_CLTV_EXPIRY: 6, + OnionFailureCode.EXPIRY_TOO_SOON: 2, + OnionFailureCode.CHANNEL_DISABLED: 4, } offset = failure_codes.get(code) if offset: