Skip to content

Commit

Permalink
Revised status messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbush committed Jan 15, 2024
1 parent 2b1ee2a commit fe0ab4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion marlowe-ici.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: marlowe-ici
version: 0.2.0.1
version: 0.2.0.2
synopsis: An IPFS chain index for Marlowe.
license: Apache-2.0
license-file: LICENSE
Expand Down
4 changes: 2 additions & 2 deletions src/Language/Marlowe/ICI/Indexer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ outputIndex ipnsKey chunkSize report header =
either (hPutStrLn stderr . ("Slot " <>) . (slotNo' <>) . (": " <>))
. const
. hPutStrLn stderr
$ "Slot " <> slotNo' <> ": " <> show (length newCids') <> " CIDs"
$ "Slot " <> slotNo' <> ": " <> show (length newCids') <> " new CIDs"
rootCbor =
mconcat
[ encodeMapLen 5
Expand All @@ -125,7 +125,7 @@ outputIndex ipnsKey chunkSize report header =
>>= either
(hPrint stderr . ("Slot " <>) . (slotNo' <>) . (": " <>))
( const . hPutStrLn stderr $
"Slot " <> slotNo' <> ": published " <> show (length newCids') <> " CIDs at /ipfs/" <> show rootCid
"Slot " <> slotNo' <> ": published " <> show (length newCids') <> " new CIDs at /ipfs/" <> show rootCid
)
else
unless (null newCids') $
Expand Down

0 comments on commit fe0ab4f

Please sign in to comment.