diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-06 23:54:08 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-06 23:54:08 +0800 |
commit | dc7022cd613113b90b491cffe3eab30c102e6345 (patch) | |
tree | 41f66ad1785b6c9164aeb13471021d7c476d2114 /javascript | |
parent | 5da3d911cf80e032ceb79a17609e41973923fc1a (diff) | |
download | go-tangerine-dc7022cd613113b90b491cffe3eab30c102e6345.tar go-tangerine-dc7022cd613113b90b491cffe3eab30c102e6345.tar.gz go-tangerine-dc7022cd613113b90b491cffe3eab30c102e6345.tar.bz2 go-tangerine-dc7022cd613113b90b491cffe3eab30c102e6345.tar.lz go-tangerine-dc7022cd613113b90b491cffe3eab30c102e6345.tar.xz go-tangerine-dc7022cd613113b90b491cffe3eab30c102e6345.tar.zst go-tangerine-dc7022cd613113b90b491cffe3eab30c102e6345.zip |
Increased args test coverage
Diffstat (limited to 'javascript')
-rw-r--r-- | javascript/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/types.go b/javascript/types.go index d580d14f5..001b50a70 100644 --- a/javascript/types.go +++ b/javascript/types.go @@ -62,7 +62,7 @@ type JSEthereum struct { func (self *JSEthereum) Block(v interface{}) otto.Value { if number, ok := v.(int64); ok { - return self.toVal(&JSBlock{self.XEth.BlockByNumber(uint64(number)), self}) + return self.toVal(&JSBlock{self.XEth.BlockByNumber(number), self}) } else if hash, ok := v.(string); ok { return self.toVal(&JSBlock{self.XEth.BlockByHash(hash), self}) } |