aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/html_container.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-05 17:56:05 +0800
committerobscuren <geffobscura@gmail.com>2014-05-05 17:56:05 +0800
commitdd45197bcd174e16adc3b738bf390cc3018a5a28 (patch)
tree13db37ed9ca5358c60f08cf4bd1a3ebb0ca0e22a /ethereal/ui/html_container.go
parent2582d719b2a8a3facac4410dd9a2ddaf5000f038 (diff)
downloadgo-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.go5
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() {