aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/client.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2018-04-18 18:27:20 +0800
committerGitHub <noreply@github.com>2018-04-18 18:27:20 +0800
commit52b046c9b6a0f6a280ff797f90784f76bfd310b9 (patch)
tree709ce3f7e873e47bdac72ab4f9935cf7b3108c4b /rpc/client.go
parent661f5f3dac23939630e3bf2f9ed2bf1bfb26e990 (diff)
downloadgo-tangerine-52b046c9b6a0f6a280ff797f90784f76bfd310b9.tar
go-tangerine-52b046c9b6a0f6a280ff797f90784f76bfd310b9.tar.gz
go-tangerine-52b046c9b6a0f6a280ff797f90784f76bfd310b9.tar.bz2
go-tangerine-52b046c9b6a0f6a280ff797f90784f76bfd310b9.tar.lz
go-tangerine-52b046c9b6a0f6a280ff797f90784f76bfd310b9.tar.xz
go-tangerine-52b046c9b6a0f6a280ff797f90784f76bfd310b9.tar.zst
go-tangerine-52b046c9b6a0f6a280ff797f90784f76bfd310b9.zip
rpc: clean up IPC handler (#16524)
This avoids logging accept errors on shutdown and removes a bit of duplication. It also fixes some goimports lint warnings.
Diffstat (limited to 'rpc/client.go')
-rw-r--r--rpc/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/client.go b/rpc/client.go
index 68745c6cb..77b4d5ee0 100644
--- a/rpc/client.go
+++ b/rpc/client.go
@@ -25,6 +25,7 @@ import (
"fmt"
"net"
"net/url"
+ "os"
"reflect"
"strconv"
"strings"
@@ -33,7 +34,6 @@ import (
"time"
"github.com/ethereum/go-ethereum/log"
- "os"
)
var (