aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_object.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-21 07:12:28 +0800
committerobscuren <geffobscura@gmail.com>2014-05-21 07:12:28 +0800
commit3c35ba7c31423da644c5fb73030af4673cff90ec (patch)
treec8e19b5a16b70780d6d837c3a60a260b13c6fd62 /ethchain/state_object.go
parent6ef2832083ad9d1e3cb1895f1aa836517dbf042d (diff)
downloadgo-tangerine-3c35ba7c31423da644c5fb73030af4673cff90ec.tar
go-tangerine-3c35ba7c31423da644c5fb73030af4673cff90ec.tar.gz
go-tangerine-3c35ba7c31423da644c5fb73030af4673cff90ec.tar.bz2
go-tangerine-3c35ba7c31423da644c5fb73030af4673cff90ec.tar.lz
go-tangerine-3c35ba7c31423da644c5fb73030af4673cff90ec.tar.xz
go-tangerine-3c35ba7c31423da644c5fb73030af4673cff90ec.tar.zst
go-tangerine-3c35ba7c31423da644c5fb73030af4673cff90ec.zip
Fixed state overwriting issue
Diffstat (limited to 'ethchain/state_object.go')
-rw-r--r--ethchain/state_object.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethchain/state_object.go b/ethchain/state_object.go
index cb6211ea6..8e059f334 100644
--- a/ethchain/state_object.go
+++ b/ethchain/state_object.go
@@ -78,6 +78,7 @@ func (c *StateObject) SetAddr(addr []byte, value interface{}) {
func (c *StateObject) SetStorage(num *big.Int, val *ethutil.Value) {
addr := ethutil.BigToBytes(num, 256)
+ //fmt.Println("storing", val.BigInt(), "@", num)
c.SetAddr(addr, val)
}