1
0

ln: shortcut some OpenChannel fields to traversing too much

This commit is contained in:
Janus
2018-06-27 18:49:51 +02:00
committed by ThomasV
parent 77e9abc655
commit 42a56df996
4 changed files with 81 additions and 62 deletions

View File

@@ -448,3 +448,22 @@ class HTLCStateMachine(PrintError):
def receive_update_fee(self, fee):
self.pending_feerate = fee
@property
def local_state(self):
return self.state.local_state
@property
def remote_state(self):
return self.state.remote_state
@property
def remote_config(self):
return self.state.remote_config
@property
def local_config(self):
return self.state.local_config
@property
def channel_id(self):
return self.state.channel_id