diff --git a/src/Network/Ethereum/Web3/Solidity/AbiEncoding.purs b/src/Network/Ethereum/Web3/Solidity/AbiEncoding.purs index 89af7d1..27a13a3 100644 --- a/src/Network/Ethereum/Web3/Solidity/AbiEncoding.purs +++ b/src/Network/Ethereum/Web3/Solidity/AbiEncoding.purs @@ -396,7 +396,7 @@ else instance ABIDecodableValue a => GenericABIDecode (Argument a) where dataOffset <- unsafeToInt <$> uInt256HexParser lookAhead $ do - (ParseState _ (Position {index}) _) <- getParserT + (ParseState _ (Position { index }) _) <- getParserT _ <- parseBytes (dataOffset - index) stateParserT \(ParseState s (Position p) c) -> Tuple unit (ParseState s (Position p { index = 0 }) c)