Skip to content

Commit

Permalink
fix reestablish e2e test case failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Dec 25, 2024
1 parent 84d5160 commit de3d1ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/fiber/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/nodes/start.sh
Original file line number Diff line number Diff line change
@@ -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:-}"
Expand Down

0 comments on commit de3d1ea

Please sign in to comment.