summaryrefslogtreecommitdiff
path: root/src/Network.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network.hs')
-rw-r--r--src/Network.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Network.hs b/src/Network.hs
index 96f8527..5bae036 100644
--- a/src/Network.hs
+++ b/src/Network.hs
@@ -51,6 +51,7 @@ import PubKey
import Service
import State
import Storage
+import Storage.Key
import Storage.Merge
@@ -765,6 +766,7 @@ runPeerServiceOn mbservice peer handler = liftIO $ do
putTMVar (serverServiceStates server) global
Just h -> do
(rsp, (s', gs')) <- runServiceHandler h inp ps gs handler
+ moveKeys (peerStorage peer) (serverStorage server)
when (not (null rsp)) $ do
sendToPeerList peer rsp
atomically $ do