From 16644ae00f6b3137bb26f6f8ce86fa64d1b46ccf Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 12 Oct 2019 13:57:54 +0200 Subject: [PATCH] follow-up previous commit --- electrum/gui/qt/invoice_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/invoice_list.py b/electrum/gui/qt/invoice_list.py index e9540d151..6af8f71c5 100644 --- a/electrum/gui/qt/invoice_list.py +++ b/electrum/gui/qt/invoice_list.py @@ -178,7 +178,7 @@ class InvoiceList(MyTreeView): route_str = '%d'%len(route) if not success: sender_idx, failure_msg = failure_data - short_channel_id = route[sender_idx].short_channel_id + short_channel_id = route[sender_idx+1].short_channel_id data = failure_msg.data message = repr(failure_msg.code) else: