aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/util.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-18 23:10:08 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-18 23:10:08 +0800
commit60c43d195289e65af2146d8655350b7f7dca66b7 (patch)
tree7f829945037786ed5bd175bd43e0327314b4522f /rpc/util.go
parent7c9bc8517d92cd7fc75e0ea7c3eff16546a82702 (diff)
downloadgo-tangerine-60c43d195289e65af2146d8655350b7f7dca66b7.tar
go-tangerine-60c43d195289e65af2146d8655350b7f7dca66b7.tar.gz
go-tangerine-60c43d195289e65af2146d8655350b7f7dca66b7.tar.bz2
go-tangerine-60c43d195289e65af2146d8655350b7f7dca66b7.tar.lz
go-tangerine-60c43d195289e65af2146d8655350b7f7dca66b7.tar.xz
go-tangerine-60c43d195289e65af2146d8655350b7f7dca66b7.tar.zst
go-tangerine-60c43d195289e65af2146d8655350b7f7dca66b7.zip
Remove i2hex
Diffstat (limited to 'rpc/util.go')
-rw-r--r--rpc/util.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/rpc/util.go b/rpc/util.go
index 230d0dcf1..3e2792c07 100644
--- a/rpc/util.go
+++ b/rpc/util.go
@@ -19,7 +19,6 @@ package rpc
import (
"encoding/json"
"fmt"
- "math/big"
"reflect"
"time"
@@ -90,10 +89,6 @@ func UnmarshalRawMessages(b []byte, iface interface{}, number *int64) (err error
return nil
}
-func i2hex(n int) string {
- return common.ToHex(big.NewInt(int64(n)).Bytes())
-}
-
type Log struct {
Address string `json:"address"`
Topic []string `json:"topic"`