Skip to content

Commit

Permalink
Merge pull request #4248 from eval-exec/exec/fix-relayer-log
Browse files Browse the repository at this point in the history
Fix `Relayer::notify`'s `remove_notify`'s log when `RelaySwitch` is `Ckb2023RelayV2`
  • Loading branch information
doitian authored Nov 27, 2023
2 parents 17abfa5 + 0186933 commit 3d674d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sync/src/relayer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,13 +904,13 @@ impl CKBProtocolHandler for Relayer {
trace_target!(crate::LOG_TARGET_RELAY, "remove v2 relay notify fail");
}
if nc.remove_notify(ASK_FOR_TXS_TOKEN).await.is_err() {
trace_target!(crate::LOG_TARGET_RELAY, "remove v1 relay notify fail");
trace_target!(crate::LOG_TARGET_RELAY, "remove v2 relay notify fail");
}
if nc.remove_notify(TX_HASHES_TOKEN).await.is_err() {
trace_target!(crate::LOG_TARGET_RELAY, "remove v1 relay notify fail");
trace_target!(crate::LOG_TARGET_RELAY, "remove v2 relay notify fail");
}
if nc.remove_notify(SEARCH_ORPHAN_POOL_TOKEN).await.is_err() {
trace_target!(crate::LOG_TARGET_RELAY, "remove v1 relay notify fail");
trace_target!(crate::LOG_TARGET_RELAY, "remove v2 relay notify fail");
}
for kv_pair in self.shared().state().peers().state.iter() {
let (peer, state) = kv_pair.pair();
Expand Down

0 comments on commit 3d674d5

Please sign in to comment.