diff --git a/src/fiber/channel.rs b/src/fiber/channel.rs index 6512c242..725a16db 100644 --- a/src/fiber/channel.rs +++ b/src/fiber/channel.rs @@ -5769,6 +5769,9 @@ impl ChannelActorState { } } } + // previous waiting_ack maybe true, reset it after reestablish the channel + // if we need to resend CommitmentSigned message, it will be set to proper status again + self.tlc_state.set_waiting_ack(false); if need_resend_commitment_signed { debug!("Resend CommitmentSigned message"); network diff --git a/tests/nodes/start.sh b/tests/nodes/start.sh index f41ceaa2..66a20cfd 100755 --- a/tests/nodes/start.sh +++ b/tests/nodes/start.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail export SHELLOPTS -export RUST_BACKTRACE=full RUST_LOG=info,fnn=debug,fnn::cch::actor::tracker=off +export RUST_BACKTRACE=full RUST_LOG=info,fnn=debug,fnn::cch::actor::tracker=off,fnn::fiber::gossip=off,fnn::fiber::graph=off should_remove_old_state="${REMOVE_OLD_STATE:-}" should_clean_fiber_state="${REMOVE_OLD_FIBER:-}"