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: