diff --git a/src/eei.cpp b/src/eei.cpp index 556df1ed4..688e1d1a0 100644 --- a/src/eei.cpp +++ b/src/eei.cpp @@ -235,13 +235,13 @@ namespace hera { return Literal(); } - if (import->base == Name("getBalance")) { + if (import->base == Name("getExternalBalance")) { heraAssert(arguments.size() == 2, string("Argument count mismatch in: ") + import->base.str); uint32_t addressOffset = static_cast(arguments[0].geti32()); uint32_t resultOffset = static_cast(arguments[1].geti32()); - HERA_DEBUG << "getBalance " << hex << addressOffset << " " << resultOffset << dec << "\n"; + HERA_DEBUG << "getExternalBalance " << hex << addressOffset << " " << resultOffset << dec << "\n"; evmc_address address = loadUint160(addressOffset); evmc_uint256be result;