summaryrefslogtreecommitdiff
path: root/src/Network.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network.hs')
-rw-r--r--src/Network.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Network.hs b/src/Network.hs
index e09b343..7bb9fea 100644
--- a/src/Network.hs
+++ b/src/Network.hs
@@ -363,7 +363,9 @@ startServer opt origHead logd' services = do
Just (SomeServiceGlobalState (_ :: Proxy gs) gs))
| Just (Refl :: s :~: gs) <- eqT -> do
let inp = ServiceInput
- { svcPeer = peerId
+ { svcPeer = peer
+ , svcPeerIdentity = peerId
+ , svcServer = server
, svcPrintOp = atomically . logd
}
reloadHead origHead >>= \case