diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-15 06:25:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-15 06:25:16 +0800 |
commit | c7ee9844bd6f8ed2bb466f8adf21f437ecc83564 (patch) | |
tree | 041ff6019d4515460e0e696d8b598081cf17a0c6 /ethchain | |
parent | 0fcc6065692f2692072cdf0d61fe1ada547fc235 (diff) | |
download | dexon-c7ee9844bd6f8ed2bb466f8adf21f437ecc83564.tar.gz dexon-c7ee9844bd6f8ed2bb466f8adf21f437ecc83564.tar.zst dexon-c7ee9844bd6f8ed2bb466f8adf21f437ecc83564.zip |
Removed old code
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/state_manager.go | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index d7860b2a2..1f47a2e0b 100644 --- a/ethchain/state_manager.go +++ b/ethchain/state_manager.go @@ -380,14 +380,18 @@ func (sm *StateManager) createBloomFilter(state *ethstate.State) *BloomFilter { sm.Ethereum.Reactor().Post("object:"+addr, stateObject) } - for stateObjectAddr, mappedObjects := range state.Manifest().StorageChanges { - for addr, value := range mappedObjects { - // Set the bloom filter's bin - bloomf.Set(ethcrypto.Sha3Bin([]byte(stateObjectAddr + addr))) + sm.Ethereum.Reactor().Post("messages", state.Manifest().Messages) - sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, ðstate.StorageState{[]byte(stateObjectAddr), []byte(addr), value}) + /* + for stateObjectAddr, mappedObjects := range state.Manifest().StorageChanges { + for addr, value := range mappedObjects { + // Set the bloom filter's bin + bloomf.Set(ethcrypto.Sha3Bin([]byte(stateObjectAddr + addr))) + + sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, ðstate.StorageState{[]byte(stateObjectAddr), []byte(addr), value}) + } } - } + */ return bloomf } |