diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-05 17:56:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-05 17:56:05 +0800 |
commit | dd45197bcd174e16adc3b738bf390cc3018a5a28 (patch) | |
tree | 13db37ed9ca5358c60f08cf4bd1a3ebb0ca0e22a /ethereal/ui/html_container.go | |
parent | 2582d719b2a8a3facac4410dd9a2ddaf5000f038 (diff) | |
download | go-tangerine-dd45197bcd174e16adc3b738bf390cc3018a5a28.tar go-tangerine-dd45197bcd174e16adc3b738bf390cc3018a5a28.tar.gz go-tangerine-dd45197bcd174e16adc3b738bf390cc3018a5a28.tar.bz2 go-tangerine-dd45197bcd174e16adc3b738bf390cc3018a5a28.tar.lz go-tangerine-dd45197bcd174e16adc3b738bf390cc3018a5a28.tar.xz go-tangerine-dd45197bcd174e16adc3b738bf390cc3018a5a28.tar.zst go-tangerine-dd45197bcd174e16adc3b738bf390cc3018a5a28.zip |
Added storage watch
Diffstat (limited to 'ethereal/ui/html_container.go')
-rw-r--r-- | ethereal/ui/html_container.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ethereal/ui/html_container.go b/ethereal/ui/html_container.go index e3e48bfcc..4f12aaaf6 100644 --- a/ethereal/ui/html_container.go +++ b/ethereal/ui/html_container.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" "path/filepath" ) @@ -65,8 +64,8 @@ func (app *HtmlApplication) ObjectChanged(stateObject *ethchain.StateObject) { app.webView.Call("onObjectChangeCb", ethpub.NewPStateObject(stateObject)) } -func (app *HtmlApplication) StorageChanged(stateObject *ethchain.StateObject, addr []byte, value *big.Int) { - app.webView.Call("onStorageChangeCb", nil) +func (app *HtmlApplication) StorageChanged(storageObject *ethchain.StorageState) { + app.webView.Call("onStorageChangeCb", ethpub.NewPStorageState(storageObject)) } func (app *HtmlApplication) Destroy() { |