From 52b046c9b6a0f6a280ff797f90784f76bfd310b9 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 18 Apr 2018 12:27:20 +0200 Subject: 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. --- common/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/types.go') diff --git a/common/types.go b/common/types.go index 76e7be58f..0b94fb2c2 100644 --- a/common/types.go +++ b/common/types.go @@ -18,15 +18,15 @@ package common import ( "encoding/hex" + "encoding/json" "fmt" "math/big" "math/rand" "reflect" + "strings" - "encoding/json" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/crypto/sha3" - "strings" ) const ( -- cgit v1.2.3