diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-05 07:05:47 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-05 07:05:47 +0800 |
commit | 65158d39b0632226c168b9a3415365ca8f072cbf (patch) | |
tree | 9b8bb62fa6b2a056a85a889f7f8609aca0a6f875 /rpc/util.go | |
parent | b1870631a4829e075eae77064973ef94aa2166b3 (diff) | |
download | go-tangerine-65158d39b0632226c168b9a3415365ca8f072cbf.tar go-tangerine-65158d39b0632226c168b9a3415365ca8f072cbf.tar.gz go-tangerine-65158d39b0632226c168b9a3415365ca8f072cbf.tar.bz2 go-tangerine-65158d39b0632226c168b9a3415365ca8f072cbf.tar.lz go-tangerine-65158d39b0632226c168b9a3415365ca8f072cbf.tar.xz go-tangerine-65158d39b0632226c168b9a3415365ca8f072cbf.tar.zst go-tangerine-65158d39b0632226c168b9a3415365ca8f072cbf.zip |
Filtering
Diffstat (limited to 'rpc/util.go')
-rw-r--r-- | rpc/util.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpc/util.go b/rpc/util.go index bb4087c51..509d9a17d 100644 --- a/rpc/util.go +++ b/rpc/util.go @@ -18,10 +18,11 @@ package rpc import ( "encoding/json" - "github.com/ethereum/go-ethereum/logger" "io" "net/http" + "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/state" ) @@ -36,7 +37,7 @@ func (self JsonWrapper) Send(writer io.Writer, v interface{}) (n int, err error) rpclogger.Fatalln("Error marshalling JSON", err) return 0, err } - rpclogger.Infof("Sending payload: %s", payload) + rpclogger.DebugDetailf("Sending payload: %s", payload) return writer.Write(payload) } |