From cdfcda41b465ba6c7edf7fbef0aa6dd3ad9c8441 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Fri, 14 Sep 2018 18:04:09 +0100 Subject: [PATCH] Remove init 0 after child computation --- nimbus/vm/interpreter/opcodes_impl.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/nimbus/vm/interpreter/opcodes_impl.nim b/nimbus/vm/interpreter/opcodes_impl.nim index fa06768ab..9cf08b0ed 100644 --- a/nimbus/vm/interpreter/opcodes_impl.nim +++ b/nimbus/vm/interpreter/opcodes_impl.nim @@ -741,7 +741,6 @@ template genCall(callName: untyped): untyped = childMsg.sender = sender var childComputation = applyChildComputation(computation, childMsg) - childComputation.gasMeter.init(0) if childComputation.isError: push: 0