Skip to content

Commit

Permalink
Rename unused function renderApplyMempoolPayloadErr_
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Jan 5, 2024
1 parent 76ef0fe commit b1f2dad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cardano-submit-api/src/Cardano/TxSubmit/ErrorRender.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{-# LANGUAGE OverloadedStrings #-}

module Cardano.TxSubmit.ErrorRender
( renderApplyMempoolPayloadErr
( renderApplyMempoolPayloadErr_
, renderEraMismatch
) where

Expand All @@ -20,8 +20,8 @@ import Data.Text (Text)
import Formatting (build, sformat, stext, (%))
import Ouroboros.Consensus.Cardano.Block (EraMismatch (..))

renderApplyMempoolPayloadErr :: ApplyMempoolPayloadErr -> Text
renderApplyMempoolPayloadErr err =
renderApplyMempoolPayloadErr_ :: ApplyMempoolPayloadErr -> Text
renderApplyMempoolPayloadErr_ err =
case err of
MempoolTxErr ve -> renderValidationError ve
MempoolDlgErr {} -> "Delegation error"
Expand Down

0 comments on commit b1f2dad

Please sign in to comment.