Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation error on GHC 9.2 (#4263)
``` src/Cardano/Wallet/DB/Layer.hs:872:14: error: * Couldn't match type: forall a1. SqlPersistT IO a1 -> IO a1 with: SqlPersistT IO (Maybe W.WalletId) -> IO (Maybe W.WalletId) Expected: SqliteContext -> SqlPersistT IO (Maybe W.WalletId) -> IO (Maybe W.WalletId) Actual: SqliteContext -> forall a. SqlPersistT IO a -> IO a * In the expression: runQuery In the fifth argument of `withSqliteContextFile', namely `(`runQuery` readWalletId)' In the second argument of `(<$>)', namely `withSqliteContextFile (contramap MsgDB tr) dbFile noManualMigration noMigration (`runQuery` readWalletId)' | 872 | (`runQuery` readWalletId) ``` And for some reason this helps.
- Loading branch information