core, tests: reduced state copy by N calls

Reduced the amount of state copied that are required by N calls by doing
a balance check prior to any state modifications.
This commit is contained in:
Jeffrey Wilcke
2015-08-02 02:20:41 +02:00
parent 846f34f78b
commit 184e9ae9a8
9 changed files with 39 additions and 18 deletions

View File

@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
package vm
import (