From 01869335e14f6f1ba347b557a8ada6d2c4fc3188 Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Mon, 27 Nov 2023 17:12:29 +0800 Subject: [PATCH] Fix Relayer remove_notify's log --- sync/src/relayer/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sync/src/relayer/mod.rs b/sync/src/relayer/mod.rs index 38a31a19af..591d4ec477 100644 --- a/sync/src/relayer/mod.rs +++ b/sync/src/relayer/mod.rs @@ -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();