Skip to content

Commit

Permalink
Fixup: use uncurry
Browse files Browse the repository at this point in the history
Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
  • Loading branch information
Anviking and rvl committed Apr 15, 2021
1 parent 3ba655d commit c3b42ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core/src/Cardano/Wallet.hs
Expand Up @@ -879,8 +879,7 @@ restoreBlocks ctx tr wid blocks nodeTip = db & \DBLayer{..} -> mapExceptT atomic
logCheckpoint cp = traceWith tr $ MsgCheckpoint (currentTip cp)

logDelegation :: (SlotNo, DelegationCertificate) -> IO ()
logDelegation (slotNo, cert) = traceWith tr
$ MsgDiscoveredDelegationCert slotNo cert
logDelegation = traceWith tr . uncurry MsgDiscoveredDelegationCert

isParentOf :: Wallet s -> Block -> Bool
isParentOf cp = (== parent) . parentHeaderHash . header
Expand Down

0 comments on commit c3b42ed

Please sign in to comment.