1
0

lnhtlc: use current_per_commitment_point, current_commitment_signature

This commit is contained in:
Janus
2018-06-25 12:48:00 +02:00
committed by ThomasV
parent 0ccafb547c
commit 56d5936661
2 changed files with 4 additions and 3 deletions

View File

@@ -274,7 +274,7 @@ class HTLCStateMachine(PrintError):
self.state = self.state._replace(
remote_state=self.state.remote_state._replace(
ctn=self.state.remote_state.ctn + 1,
last_per_commitment_point=next_point,
current_per_commitment_point=next_point,
next_per_commitment_point=revocation.next_per_commitment_point,
amount_msat=self.state.remote_state.amount_msat + (sent_this_batch - received_this_batch)
),