From 6807010dc7864500d89a833e4f6e7f338e58b948 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 14 Nov 2017 12:58:04 +0100 Subject: Prevent libraries from being called. --- libevmasm/GasMeter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libevmasm/GasMeter.cpp') diff --git a/libevmasm/GasMeter.cpp b/libevmasm/GasMeter.cpp index dad952bc..543f1cbc 100644 --- a/libevmasm/GasMeter.cpp +++ b/libevmasm/GasMeter.cpp @@ -52,6 +52,7 @@ GasMeter::GasConsumption GasMeter::estimateMax(AssemblyItem const& _item, bool _ case PushSubSize: case PushProgramSize: case PushLibraryAddress: + case PushDeployTimeAddress: gas = runGas(Instruction::PUSH1); break; case Tag: -- cgit