Added different storage notification object

This commit is contained in:
obscuren
2014-05-05 11:56:25 +02:00
parent 1f6df0cd52
commit 7c91159449
4 changed files with 45 additions and 11 deletions

View File

@ -350,7 +350,7 @@ func (sm *StateManager) notifyChanges() {
for stateObjectAddr, mappedObjects := range sm.manifest.storageChanges {
for addr, value := range mappedObjects {
sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, value.String())
sm.Ethereum.Reactor().Post("storage:"+stateObjectAddr+":"+addr, &StorageState{[]byte(stateObjectAddr), []byte(addr), value})
}
}
}