diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-07 19:28:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 19:28:10 +0800 |
commit | 37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30 (patch) | |
tree | 8e4101bb4cb8a55f4974753037e7fa1b28252e52 /node/utils_test.go | |
parent | b36f54c684e138895d980e210a03516db109dd47 (diff) | |
parent | 19866075ace7b61301c78935d82b4f28992d92a5 (diff) | |
download | go-tangerine-37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30.tar go-tangerine-37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30.tar.gz go-tangerine-37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30.tar.bz2 go-tangerine-37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30.tar.lz go-tangerine-37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30.tar.xz go-tangerine-37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30.tar.zst go-tangerine-37e9fcaccaff4c7eda4848f8bd3f9ac5b42daa30.zip |
Merge pull request #14923 from egonelbre/megacheck_node
node: fix megacheck warnings
Diffstat (limited to 'node/utils_test.go')
-rw-r--r-- | node/utils_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/node/utils_test.go b/node/utils_test.go index 7cdfc2b3a..8eddce3ed 100644 --- a/node/utils_test.go +++ b/node/utils_test.go @@ -41,12 +41,10 @@ func NewNoopService(*ServiceContext) (Service, error) { return new(NoopService), type NoopServiceA struct{ NoopService } type NoopServiceB struct{ NoopService } type NoopServiceC struct{ NoopService } -type NoopServiceD struct{ NoopService } func NewNoopServiceA(*ServiceContext) (Service, error) { return new(NoopServiceA), nil } func NewNoopServiceB(*ServiceContext) (Service, error) { return new(NoopServiceB), nil } func NewNoopServiceC(*ServiceContext) (Service, error) { return new(NoopServiceC), nil } -func NewNoopServiceD(*ServiceContext) (Service, error) { return new(NoopServiceD), nil } // InstrumentedService is an implementation of Service for which all interface // methods can be instrumented both return value as well as event hook wise. |