Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit f13f99f

Browse files
committed
Change rocksDB names to node.:
1 parent 51e6c62 commit f13f99f

File tree

1 file changed

+3
-3
lines changed
  • wallet-new/src/Cardano/Wallet/WalletLayer

1 file changed

+3
-3
lines changed

wallet-new/src/Cardano/Wallet/WalletLayer/Kernel.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ bracketPassiveWallet
4040
-> Keystore
4141
-> NodeStateAdaptor IO
4242
-> (PassiveWalletLayer n -> Kernel.PassiveWallet -> m a) -> m a
43-
bracketPassiveWallet logFunction keystore rocksDB f = do
44-
Kernel.bracketPassiveWallet logFunction keystore rocksDB $ \w -> do
43+
bracketPassiveWallet logFunction keystore node f = do
44+
Kernel.bracketPassiveWallet logFunction keystore node $ \w -> do
4545
let wai = Actions.WalletActionInterp
4646
{ Actions.applyBlocks = \blunds -> do
4747
ls <- mapM (Wallets.blundToResolvedBlock getTimeBySlot)
@@ -56,7 +56,7 @@ bracketPassiveWallet logFunction keystore rocksDB f = do
5656
where
5757
getTimeBySlot :: Core.SlotId -> IO Core.Timestamp
5858
getTimeBySlot n = do
59-
time <- rightToMaybe <$> getSlotStart rocksDB n
59+
time <- rightToMaybe <$> getSlotStart node n
6060
defaultTime <- Core.getCurrentTimestamp
6161
return $ fromMaybe defaultTime time
6262

0 commit comments

Comments
 (0)