Refactor avm_call
@@ -117,16 +117,14 @@ public final class Blockchain extends Object {
public static IObject avm_call(Address targetAddress,
String method,
IObjectArray params) {
- IInstrumentation.attachedThreadInstrumentation.get().chargeEnergy(RuntimeMethodFeeSchedule.BlockchainRuntime_avm_call);
- return blockchainRuntime.avm_call(null, null, targetAddress, method, params);
+ return avm_call(null, null, targetAddress, method, params);
}
public static IObject avm_call(BigInteger value,
Address targetAddress,
String method,
IObjectArray params) {
- IInstrumentation.attachedThreadInstrumentation.get().chargeEnergy(RuntimeMethodFeeSchedule.BlockchainRuntime_avm_call);
- return blockchainRuntime.avm_call(value, null, targetAddress, method, params);
+ return avm_call(value, null, targetAddress, method, params);
}
public static IObject avm_call(BigInteger value,
