This commit is contained in:
Dmitry Zuikov 2023-01-18 05:53:29 +03:00
parent 37065c62da
commit d76aef7eca
2 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class (Hashable (Peer e), Eq (Peer e)) => HasPeer e where
data family (Peer e) :: Type
class MonadIO m => Response e p (m :: Type -> Type) | p -> e where
class (MonadIO m, HasProtocol e p) => Response e p m | p -> e where
response :: p -> m ()
deferred :: Proxy p -> m () -> m ()

View File

@ -61,7 +61,6 @@ instance HasProtocol Fake (BlockSize Fake) where
blockSizeHandler :: forall e m s . ( MonadIO m
, Response e (BlockSize e) m
, HasProtocol e (BlockSize e)
, s ~ SimpleStorage HbSync
)
=> s