Fixes hex string update via isoltest.

This commit is contained in:
Erik Kundt
2019-03-14 11:01:26 +01:00
parent ba9b3d5e95
commit ac5f860df9
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ tuple<bytes, ABIType, string> TestFileParser::parseABITypeLiteral()
if (alignment != DeclaredAlignment::None)
throw Error(Error::Type::ParserError, "Hex string literals cannot be aligned or padded.");
string parsed = parseHexNumber();
rawString += parsed;
rawString += "hex\"" + parsed + "\"";
result = convertHexString(parsed);
abiType = ABIType{ABIType::HexString, ABIType::AlignNone, result.size()};
}