From: Matt Corallo Date: Sun, 8 Apr 2018 18:24:12 +0000 (-0400) Subject: Fix commitment transaction number/per_commitment_point tracking X-Git-Tag: v0.0.12~412^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f5ca34601175fb56520456cf02ebe940a89ad088;p=rust-lightning Fix commitment transaction number/per_commitment_point tracking --- 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