Skip to content

Commit

Permalink
Fix warning in memory-benchmark.hs.
Browse files Browse the repository at this point in the history
```
bench/memory-benchmark.hs:153:22: error: [-Wunused-matches, -Werror=unused-matches]
    Defined but not used: `tr'
    |
153 | getLatestBlockHeight tr wallet = do
```
  • Loading branch information
jonathanknowles committed Jul 21, 2023
1 parent 4ee0192 commit 33ca4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wallet-benchmarks/bench/memory-benchmark.hs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ copyNodeSnapshot snapshot tmp = do
Cardano commands
------------------------------------------------------------------------------}
getLatestBlockHeight :: Tracer IO Text -> C.CardanoWalletConn -> IO Int
getLatestBlockHeight tr wallet = do
getLatestBlockHeight _tr wallet = do
fmap (fromMaybe 0 . readMaybe)
. flip S.readCreateProcess ""
. S.shell
Expand Down

0 comments on commit 33ca4ea

Please sign in to comment.