diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-18 19:20:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-18 19:20:35 +0800 |
commit | 77badc8c4603674c5fd587150de104e553fce71f (patch) | |
tree | e4bb486c9e8fce8459c5d6e2ad3d01e699a46c4e /javascript | |
parent | e57989c0a638ff4c2e9ccda4229c732d3ced29a7 (diff) | |
download | dexon-77badc8c4603674c5fd587150de104e553fce71f.tar dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.gz dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.bz2 dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.lz dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.xz dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.zst dexon-77badc8c4603674c5fd587150de104e553fce71f.zip |
Updated to reflect the Filter changes in eth-go
Diffstat (limited to 'javascript')
-rw-r--r-- | javascript/types.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |