From 2ef2bb493ca9fc7afb05c669cd6d11363ad8da8b Mon Sep 17 00:00:00 2001 From: Dmitry Zuikov Date: Wed, 20 Dec 2023 06:48:29 +0300 Subject: [PATCH] collect own messages in rechannotify log --- hbs2-core/lib/HBS2/Net/Proto/RefChan.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hbs2-core/lib/HBS2/Net/Proto/RefChan.hs b/hbs2-core/lib/HBS2/Net/Proto/RefChan.hs index 28309fa6..4c07fdb3 100644 --- a/hbs2-core/lib/HBS2/Net/Proto/RefChan.hs +++ b/hbs2-core/lib/HBS2/Net/Proto/RefChan.hs @@ -913,8 +913,7 @@ refChanNotifyProto self adapter msg@(Notify rchan box) = do debug $ "^^^ CALL refChanNotifyRely" <+> pretty h0 lift $ refChanNotifyRely adapter rchan msg - debug $ "FUCKING EMIT RefChanNotifyEventKey" <+> pretty (AsBase58 rchan) - lift $ emit @e (RefChanNotifyEventKey rchan) (RefChanNotifyEvent (HashRef h0) msg) + lift $ emit @e (RefChanNotifyEventKey rchan) (RefChanNotifyEvent (HashRef h0) msg) where proto = Proxy @(RefChanNotify e)