summaryrefslogtreecommitdiff
path: root/src/State.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-09-19 20:49:58 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-10-19 21:37:01 +0200
commit61808c8cd7b30ceaf9915e72d734c4d095ff67d6 (patch)
tree7897848d5e61747c5ccf4136bc77c9d9490d1c52 /src/State.hs
parent967cb4587c1af9fb53bfd1a30d007877d16e03fa (diff)
Identity extension data
Diffstat (limited to 'src/State.hs')
-rw-r--r--src/State.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/State.hs b/src/State.hs
index b575ffa..207030c 100644
--- a/src/State.hs
+++ b/src/State.hs
@@ -126,7 +126,7 @@ loadLocalStateHead st = loadHeads st >>= \case
localIdentity :: LocalState -> UnifiedIdentity
localIdentity ls = maybe (error "failed to verify local identity")
- (updateOwners $ maybe [] idDataF $ lookupSharedValue $ lsShared ls)
+ (updateOwners $ maybe [] idExtDataF $ lookupSharedValue $ lsShared ls)
(validateIdentity $ lsIdentity ls)
headLocalIdentity :: Head LocalState -> UnifiedIdentity