File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -175,14 +175,14 @@ readPrivateKeys ::
175175 Eff effs (Either Text (Map PubKeyHash DummyPrivKey ))
176176readPrivateKeys pabConf = do
177177 files <- listDirectory @ w $ Text. unpack pabConf. pcSigningKeyFileDir
178- let sKeyFiles =
179- map (\ filename -> Text. unpack pabConf. pcSigningKeyFileDir ++ " /" ++ filename) $
180- filter (" skey" `isExtensionOf` ) files
181178 let vKeyFiles =
182179 map (\ filename -> Text. unpack pabConf. pcSigningKeyFileDir ++ " /" ++ filename) $
183180 filter (" vkey" `isExtensionOf` ) files
184- privKeys <- mapM (readSigningKey @ w ) sKeyFiles
185- privKeys' <- mapM (readVerificationKey @ w ) vKeyFiles
181+ let sKeyFiles =
182+ map (\ filename -> Text. unpack pabConf. pcSigningKeyFileDir ++ " /" ++ filename) $
183+ filter (" skey" `isExtensionOf` ) files
184+ privKeys <- mapM (readVerificationKey @ w ) vKeyFiles
185+ privKeys' <- mapM (readSigningKey @ w ) sKeyFiles
186186 pure $ toPrivKeyMap <$> sequence (privKeys <> privKeys')
187187 where
188188 toPrivKeyMap :: [DummyPrivKey ] -> Map PubKeyHash DummyPrivKey
You can’t perform that action at this time.
0 commit comments