Selaa lähdekoodia

Check stack for BALANCE. Closes #622

obscuren 10 vuotta sitten
vanhempi
commit
96cf776f81
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      core/vm/gas.go

+ 1 - 1
core/vm/gas.go

@@ -142,7 +142,7 @@ var _baseCheck = map[OpCode]req{
 	MSIZE:        {0, GasQuickStep, true},
 	GAS:          {0, GasQuickStep, true},
 	BLOCKHASH:    {1, GasExtStep, true},
-	BALANCE:      {0, GasExtStep, true},
+	BALANCE:      {1, GasExtStep, true},
 	EXTCODESIZE:  {1, GasExtStep, true},
 	EXTCODECOPY:  {4, GasExtStep, false},
 	SLOAD:        {1, GasStorageGet, true},