File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ import Cardano.Api (
6161 deserialiseFromTextEnvelope ,
6262 serialiseToTextEnvelope ,
6363 )
64- import Data.Hex (hex )
6564import Cardano.Crypto.DSIGN (genKeyDSIGN )
6665import Cardano.Crypto.Seed (mkSeedFromBytes )
6766import Control.Concurrent.STM (newTVarIO )
@@ -78,6 +77,7 @@ import Data.Aeson.Extras (encodeByteString)
7877import Data.ByteString qualified as ByteString
7978import Data.Default (Default (def ))
8079import Data.Either.Combinators (fromRight , mapLeft )
80+ import Data.Hex (hex )
8181import Data.Kind (Type )
8282import Data.List (isPrefixOf )
8383import Data.Map (Map )
@@ -342,8 +342,9 @@ valueToUtxoOut =
342342 encodeByteString $
343343 fromBuiltin $ Value. unCurrencySymbol curSymbol
344344 tokenName' =
345- decodeUtf8 $ hex $
346- fromBuiltin $ Value. unTokenName tokenName
345+ decodeUtf8 $
346+ hex $
347+ fromBuiltin $ Value. unTokenName tokenName
347348 in if Text. null tokenName'
348349 then curSymbol'
349350 else [text |${curSymbol'}.${tokenName'}|]
You can’t perform that action at this time.
0 commit comments