summaryrefslogtreecommitdiff
path: root/src/Erebos/Attach.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-08-05 20:42:04 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-08-05 20:42:04 +0200
commit1cab80953eda5547ee5ef2599a622fc8329e81ea (patch)
tree4fe1b8b993bdf7376ce3d1243f6b126d1458d8d6 /src/Erebos/Attach.hs
parentfef17af2437a8584d0435c94d85b9619b5264219 (diff)
Use MonadStorage for makeSharedStateUpdate
Changelog: API: `State.makeSharedStateUpdate` uses `MonadStorage`
Diffstat (limited to 'src/Erebos/Attach.hs')
-rw-r--r--src/Erebos/Attach.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Erebos/Attach.hs b/src/Erebos/Attach.hs
index fad6197..b7c642f 100644
--- a/src/Erebos/Attach.hs
+++ b/src/Erebos/Attach.hs
@@ -59,7 +59,7 @@ instance PairingResult AttachIdentity where
liftIO $ mapM_ storeKey $ catMaybes [ keyFromData sec pub | sec <- keys, pub <- pkeys ]
identity' <- mergeIdentity $ updateIdentity [ lsIdentity $ fromStored slocal ] identity
- shared <- makeSharedStateUpdate st (Just owner) (lsShared $ fromStored slocal)
+ shared <- makeSharedStateUpdate (Just owner) (lsShared $ fromStored slocal)
mstore (fromStored slocal)
{ lsIdentity = idExtData identity'
, lsShared = [ shared ]