aboutsummaryrefslogtreecommitdiffstats
path: root/node/node_test.go
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-05-22 15:29:41 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-22 15:29:41 +0800
commit9af364e42b2fbbacf2febf9c43068ddb8a058b79 (patch)
treee4d9c168db84d707b81195ee66f703c6a14a89c6 /node/node_test.go
parent09d44247f746b177e46754ba56ad7e9bc0bd8ef6 (diff)
downloaddexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar
dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.gz
dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.bz2
dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.lz
dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.xz
dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.zst
dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.zip
node: all golint warnings fixed (#16773)
* node: all golint warnings fixed * node: rm per peter * node: rm per peter
Diffstat (limited to 'node/node_test.go')
-rw-r--r--node/node_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/node_test.go b/node/node_test.go
index 2880efa61..e51900bd1 100644
--- a/node/node_test.go
+++ b/node/node_test.go
@@ -507,8 +507,8 @@ func TestAPIGather(t *testing.T) {
}
// Register a batch of services with some configured APIs
calls := make(chan string, 1)
- makeAPI := func(result string) *OneMethodApi {
- return &OneMethodApi{fun: func() { calls <- result }}
+ makeAPI := func(result string) *OneMethodAPI {
+ return &OneMethodAPI{fun: func() { calls <- result }}
}
services := map[string]struct {
APIs []rpc.API