Skip to content

Commit 9621433

Browse files
Update src/BotPlutusInterface/UtxoParser.hs
Co-authored-by: Samuel Williams <33094920+samuelWilliams99@users.noreply.github.com>
1 parent ab7127b commit 9621433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BotPlutusInterface/UtxoParser.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tokenNameParser = do
108108
where
109109
tokenName = do
110110
void $ char '.'
111-
void (string "0x") <|> pure ()
111+
void $ optional $ string "0x"
112112
TokenName <$> decodeHash (takeWhile (not . isSpace))
113113

114114
datumHashNoneParser :: Parser ()

0 commit comments

Comments
 (0)