From 86bc7795a3dfa4032a492f3e4150c7d1506e5b2d Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Tue, 21 Jun 2016 21:03:06 +0200 Subject: vm: Replace some SstoreClearGas with SstoreResetGas --- core/vm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/vm/vm.go') diff --git a/core/vm/vm.go b/core/vm/vm.go index 0f93715d6..52e782b23 100644 --- a/core/vm/vm.go +++ b/core/vm/vm.go @@ -306,7 +306,7 @@ func calculateGasAndSize(env Environment, contract *Contract, caller ContractRef g = params.SstoreClearGas } else { // non 0 => non 0 (or 0 => 0) - g = params.SstoreClearGas + g = params.SstoreResetGas } gas.Set(g) case SUICIDE: -- cgit