Skip to content

Commit

Permalink
Fix Relayer remove_notify's log
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Nov 27, 2023
1 parent 9995c8c commit 0186933
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 0186933

Please sign in to comment.