File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,11 +197,11 @@ readIncremental = \(SomeHasFS hasFS) decoder fp -> do
197
197
-> CRC
198
198
-> CBOR.R. IDecode (U. PrimState m ) a
199
199
-> m (Either ReadIncrementalErr (a , CRC ))
200
- go hasFS@ HasFS {.. } h checksum (CBOR.R. Partial k) = do
200
+ go hasFS@ HasFS {.. } h ! checksum (CBOR.R. Partial k) = do
201
201
bs <- hGetSome h (fromIntegral defaultChunkSize)
202
202
dec' <- U. stToIO $ k (checkEmpty bs)
203
203
go hasFS h (updateCRC bs checksum) dec'
204
- go _ _ checksum (CBOR.R. Done leftover _ a) =
204
+ go _ _ ! checksum (CBOR.R. Done leftover _ a) =
205
205
return $ if BS. null leftover
206
206
then Right (a, checksum)
207
207
else Left $ TrailingBytes leftover
You can’t perform that action at this time.
0 commit comments