From c4ddebe78a605b67c6b58fd63fba5c5e3fbf0971 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Thu, 10 Sep 2015 15:33:50 +0200 Subject: [PATCH] Dev commit. Squash in rebase. --- core/state/state_object.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/state/state_object.go b/core/state/state_object.go index fa67c94e4c..0a894facae 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -180,14 +180,6 @@ func (self *StateObject) Update() { } } -func (c *StateObject) GetInstr(pc *big.Int) *common.Value { - if int64(len(c.code)-1) < pc.Int64() { - return common.NewValue(0) - } - - return common.NewValueFromBytes([]byte{c.code[pc.Int64()]}) -} - func (c *StateObject) AddBalance(amount *big.Int) { c.SetBalance(new(big.Int).Add(c.balance, amount)) @@ -264,10 +256,6 @@ func (self *StateObject) Copy() *StateObject { return stateObject } -func (self *StateObject) Set(stateObject *StateObject) { - *self = *stateObject -} - // // Attribute accessors //