Skip to content

Commit

Permalink
Adapt to new HasLogger type in master
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinrichApfelmus committed Nov 1, 2021
1 parent 2fbafa1 commit 99cfe7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/src/Cardano/Wallet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ restoreWallet
( HasNetworkLayer IO ctx
, HasDBLayer IO s k ctx
, HasGenesisData ctx
, HasLogger WalletWorkerLog ctx
, HasLogger IO WalletWorkerLog ctx
, IsOurs s Address
, IsOurs s RewardAccount
)
Expand All @@ -909,7 +909,7 @@ restoreWallet ctx wid = db & \DBLayer{..} -> do
where
db = ctx ^. dbLayer @IO @s @k
nw = ctx ^. networkLayer @IO
tr = ctx ^. logger @WalletWorkerLog
tr = ctx ^. logger @_ @WalletWorkerLog
(block0, _, _) = ctx ^. genesisData

-- See Note [CheckedExceptionsAndCallbacks]
Expand Down

0 comments on commit 99cfe7c

Please sign in to comment.