aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/state.go')
-rw-r--r--ethchain/state.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/state.go b/ethchain/state.go
index 6b849296a..9748da1bc 100644
--- a/ethchain/state.go
+++ b/ethchain/state.go
@@ -61,6 +61,7 @@ func (self *State) UpdateStateObject(stateObject *StateObject) {
addr := stateObject.Address()
ethutil.Config.Db.Put(ethcrypto.Sha3Bin(stateObject.Script()), stateObject.Script())
+ fmt.Printf("balance %v %p\n", stateObject.Amount, stateObject)
self.trie.Update(string(addr), string(stateObject.RlpEncode()))
@@ -174,7 +175,7 @@ func (s *State) Reset() {
func (s *State) Sync() {
// Sync all nested states
for _, stateObject := range s.stateObjects {
- s.UpdateStateObject(stateObject)
+ //s.UpdateStateObject(stateObject)
if stateObject.state == nil {
continue