Skip to content

Commit

Permalink
Merge pull request #14865 from ethereum/fix_typo_in_assembly_from_json
Browse files Browse the repository at this point in the history
Fix typo in Assembly::fromJSON(..).
  • Loading branch information
ekpyron authored Feb 19, 2024
2 parents d8c3ca2 + 9b8ed03 commit dc11306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libevmasm/Assembly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ std::pair<std::shared_ptr<Assembly>, std::vector<std::string>> Assembly::fromJSO

result->importAssemblyItemsFromJSON(_json[".code"], _level == 0 ? parsedSourceList : _sourceList);

if (_json[".auxdata"])
if (_json.isMember(".auxdata"))
{
solRequire(_json[".auxdata"].isString(), AssemblyImportException, "Optional member '.auxdata' is not a string.");
result->m_auxiliaryData = fromHex(_json[".auxdata"].asString());
Expand Down

0 comments on commit dc11306

Please sign in to comment.