From 77badc8c4603674c5fd587150de104e553fce71f Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 18 Oct 2014 13:20:35 +0200 Subject: Updated to reflect the Filter changes in eth-go --- javascript/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'javascript') diff --git a/javascript/types.go b/javascript/types.go index 53a2977a8..560960f54 100644 --- a/javascript/types.go +++ b/javascript/types.go @@ -4,10 +4,10 @@ import ( "fmt" "github.com/ethereum/eth-go" - "github.com/ethereum/eth-go/ethchain" "github.com/ethereum/eth-go/ethpipe" "github.com/ethereum/eth-go/ethstate" "github.com/ethereum/eth-go/ethutil" + "github.com/ethereum/eth-go/ui" "github.com/obscuren/otto" ) @@ -128,7 +128,7 @@ func (self *JSEthereum) toVal(v interface{}) otto.Value { } func (self *JSEthereum) Messages(object map[string]interface{}) otto.Value { - filter := ethchain.NewFilterFromMap(object, self.ethereum) + filter := ui.NewFilterFromMap(object, self.ethereum) messages := filter.Find() var msgs []JSMessage -- cgit