From f5ca34601175fb56520456cf02ebe940a89ad088 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 8 Apr 2018 14:24:12 -0400 Subject: [PATCH] Fix commitment transaction number/per_commitment_point tracking --- src/ln/channel.rs | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/ln/channel.rs b/src/ln/channel.rs index fe92f9d6f..d690ef3ea 100644 --- a/src/ln/channel.rs +++ b/src/ln/channel.rs @@ -285,6 +285,8 @@ pub struct Channel { their_delayed_payment_basepoint: PublicKey, their_htlc_basepoint: PublicKey, their_cur_commitment_point: PublicKey, + + their_prev_commitment_point: Option, their_node_id: PublicKey, their_shutdown_scriptpubkey: Option