summaryrefslogtreecommitdiff
path: root/src/PubKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/PubKey.hs')
-rw-r--r--src/PubKey.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PubKey.hs b/src/PubKey.hs
index 8f39bf1..483a94b 100644
--- a/src/PubKey.hs
+++ b/src/PubKey.hs
@@ -85,11 +85,11 @@ instance Storable Signature where
instance Storable a => Storable (Signed a) where
store' sig = storeRec $ do
- storeRef "data" $ signedData sig
+ storeRef "SDATA" $ signedData sig
mapM_ (storeRef "sig") $ signedSignature sig
load' = loadRec $ do
- sdata <- loadRef "data"
+ sdata <- loadRef "SDATA"
sigs <- loadRefs "sig"
forM_ sigs $ \sig -> do
let PublicKey pubkey = fromStored $ sigKey $ fromStored sig