From a6c4543c575b52b943ff54f74c9d650d73175fe0 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 15 Aug 2014 13:16:07 +0200 Subject: Moving over to ethpipe --- ethereal/ui_lib.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ethereal/ui_lib.go') 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) { -- cgit