aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui_lib.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-15 19:16:07 +0800
committerobscuren <geffobscura@gmail.com>2014-08-15 19:16:07 +0800
commita6c4543c575b52b943ff54f74c9d650d73175fe0 (patch)
tree23473e3076be6b394db680a5149cb8006f00a9db /ethereal/ui_lib.go
parentc362172567e7bd499ea0d0bcf84c54a9b7788614 (diff)
downloaddexon-a6c4543c575b52b943ff54f74c9d650d73175fe0.tar.gz
dexon-a6c4543c575b52b943ff54f74c9d650d73175fe0.tar.zst
dexon-a6c4543c575b52b943ff54f74c9d650d73175fe0.zip
Moving over to ethpipe
Diffstat (limited to 'ethereal/ui_lib.go')
-rw-r--r--ethereal/ui_lib.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereal/ui_lib.go b/ethereal/ui_lib.go
index f900fcaee..c48a06547 100644
--- a/ethereal/ui_lib.go
+++ b/ethereal/ui_lib.go
@@ -6,6 +6,7 @@ import (
"github.com/ethereum/eth-go"
"github.com/ethereum/eth-go/ethchain"
+ "github.com/ethereum/eth-go/ethpipe"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/go-ethereum/javascript"
"github.com/go-qml/qml"
@@ -18,6 +19,7 @@ type memAddr struct {
// UI Library that has some basic functionality exposed
type UiLib struct {
+ *ethpipe.JSPipe
engine *qml.Engine
eth *eth.Ethereum
connected bool
@@ -31,7 +33,7 @@ type UiLib struct {
}
func NewUiLib(engine *qml.Engine, eth *eth.Ethereum, assetPath string) *UiLib {
- return &UiLib{engine: engine, eth: eth, assetPath: assetPath, jsEngine: javascript.NewJSRE(eth)}
+ return &UiLib{JSPipe: ethpipe.NewJSPipe(eth), engine: engine, eth: eth, assetPath: assetPath, jsEngine: javascript.NewJSRE(eth)}
}
func (self *UiLib) ImportTx(rlpTx string) {