diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-05 20:17:20 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-05 20:17:20 +0800 |
commit | cb9ca992debfcef83f79b2c606955e6688880694 (patch) | |
tree | 91133b39f56ab5292a538a353ab3c55c3b951383 /ethereal/ui/ext_app.go | |
parent | e94e5ac75dbbc4ec52228ae11377a4fa71ab95ab (diff) | |
parent | 91824af46b59b7af84c7591236fe8b34b667ddb8 (diff) | |
download | dexon-cb9ca992debfcef83f79b2c606955e6688880694.tar dexon-cb9ca992debfcef83f79b2c606955e6688880694.tar.gz dexon-cb9ca992debfcef83f79b2c606955e6688880694.tar.bz2 dexon-cb9ca992debfcef83f79b2c606955e6688880694.tar.lz dexon-cb9ca992debfcef83f79b2c606955e6688880694.tar.xz dexon-cb9ca992debfcef83f79b2c606955e6688880694.tar.zst dexon-cb9ca992debfcef83f79b2c606955e6688880694.zip |
Merge branch 'develop' into feature/rpc
Diffstat (limited to 'ethereal/ui/ext_app.go')
-rw-r--r-- | ethereal/ui/ext_app.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ethereal/ui/ext_app.go b/ethereal/ui/ext_app.go index 110ad37d7..93db0ade1 100644 --- a/ethereal/ui/ext_app.go +++ b/ethereal/ui/ext_app.go @@ -6,7 +6,6 @@ import ( "github.com/ethereum/eth-go/ethpub" "github.com/ethereum/eth-go/ethutil" "github.com/go-qml/qml" - "math/big" ) type AppContainer interface { @@ -18,7 +17,7 @@ type AppContainer interface { NewBlock(*ethchain.Block) ObjectChanged(*ethchain.StateObject) - StorageChanged(*ethchain.StateObject, []byte, *big.Int) + StorageChanged(*ethchain.StorageState) } type ExtApplication struct { @@ -105,8 +104,8 @@ out: case object := <-app.changeChan: if stateObject, ok := object.Resource.(*ethchain.StateObject); ok { app.container.ObjectChanged(stateObject) - } else if _, ok := object.Resource.(*big.Int); ok { - // + } else if storageObject, ok := object.Resource.(*ethchain.StorageState); ok { + app.container.StorageChanged(storageObject) } } } |