1
0

move channel_state into HTLCStateMachine

This commit is contained in:
Janus
2018-07-16 16:51:32 +02:00
committed by ThomasV
parent 3caccbebcd
commit d740475e7a
5 changed files with 26 additions and 20 deletions

View File

@@ -20,12 +20,11 @@ class ChannelsList(MyTreeWidget):
self.status = QLabel('')
def format_fields(self, chan):
status = self.parent.wallet.lnworker.channel_state[chan.channel_id]
return [
bh2u(chan.node_id),
self.parent.format_amount(chan.local_state.amount_msat//1000),
self.parent.format_amount(chan.remote_state.amount_msat//1000),
status
chan.state
]
def create_menu(self, position):