aboutsummaryrefslogtreecommitdiffstats
path: root/state/state_object.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-19 19:25:52 +0800
committerobscuren <geffobscura@gmail.com>2014-11-19 19:25:52 +0800
commit14e2e488fdf0f4d6ed1a5a48ffbbe883faa7edb6 (patch)
tree7d8b81beb6285eab7dfc8772b35f1d9d8ce1b186 /state/state_object.go
parent437d79f09418b24693b4e3fc4d2f88e291b5340f (diff)
downloaddexon-14e2e488fdf0f4d6ed1a5a48ffbbe883faa7edb6.tar.gz
dexon-14e2e488fdf0f4d6ed1a5a48ffbbe883faa7edb6.tar.zst
dexon-14e2e488fdf0f4d6ed1a5a48ffbbe883faa7edb6.zip
Added `chain` tests & minor fixes
* Fork tests (equal and larger chains) * `chain.link` fields are now exported * moved debug function from state to dump.go
Diffstat (limited to 'state/state_object.go')
-rw-r--r--state/state_object.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/state/state_object.go b/state/state_object.go
index 5ce74c434..729e32ae4 100644
--- a/state/state_object.go
+++ b/state/state_object.go
@@ -287,14 +287,6 @@ func (self *StateObject) Root() []byte {
return self.State.Trie.GetRoot()
}
-// Debug stuff
-func (self *StateObject) CreateOutputForDiff() {
- fmt.Printf("%x %x %x %x\n", self.Address(), self.State.Root(), self.balance.Bytes(), self.Nonce)
- self.EachStorage(func(addr string, value *ethutil.Value) {
- fmt.Printf("%x %x\n", addr, value.Bytes())
- })
-}
-
//
// Encoding
//