File tree 2 files changed +0
-6
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB/V2
2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -121,11 +121,6 @@ newInMemoryLedgerTablesHandle someFS@(SomeHasFS hasFS) l = do
121
121
, tablesSize = do
122
122
hs <- readTVarIO tv
123
123
guardClosed hs (pure . Just . Map. size . getValuesMK . getLedgerTables)
124
- , isOpen = do
125
- hs <- readTVarIO tv
126
- case hs of
127
- LedgerTablesHandleOpen {} -> pure True
128
- LedgerTablesHandleClosed {} -> pure False
129
124
}
130
125
131
126
{- ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ data LedgerTablesHandle m l = LedgerTablesHandle {
92
92
-- | Consult the size of the ledger tables in the database. This will return
93
93
-- 'Nothing' in backends that do not support this operation.
94
94
, tablesSize :: ! (m (Maybe Int ))
95
- , isOpen :: ! (m Bool )
96
95
}
97
96
deriving NoThunks via OnlyCheckWhnfNamed " LedgerTablesHandle" (LedgerTablesHandle m l )
98
97
You can’t perform that action at this time.
0 commit comments