remove unused Key parameter from isCryptographicallySecure
This will allow using isCryptographicallySecure on a Backend, before a Key has been generated. Sponsored-by: Lawrence Brogan on Patreon
This commit is contained in:
parent
f4a390b2a6
commit
d4cb7afeed
5 changed files with 6 additions and 6 deletions
|
@ -80,7 +80,7 @@ genBackend hash = Backend
|
|||
, canUpgradeKey = Just needsUpgrade
|
||||
, fastMigrate = Just trivialMigrate
|
||||
, isStableKey = const True
|
||||
, isCryptographicallySecure = const (cryptographicallySecure hash)
|
||||
, isCryptographicallySecure = cryptographicallySecure hash
|
||||
}
|
||||
|
||||
genBackendE :: Hash -> Backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue