diff options
author | Egon Elbre <egonelbre@gmail.com> | 2017-08-07 00:43:43 +0800 |
---|---|---|
committer | Egon Elbre <egonelbre@gmail.com> | 2017-08-07 18:43:08 +0800 |
commit | 19866075ace7b61301c78935d82b4f28992d92a5 (patch) | |
tree | 140ee9442ac55f882575c3ed49232082922f787a /node/utils_test.go | |
parent | b159cdd8dd33ba030e7af5aa144de43441e4f543 (diff) | |
download | dexon-19866075ace7b61301c78935d82b4f28992d92a5.tar dexon-19866075ace7b61301c78935d82b4f28992d92a5.tar.gz dexon-19866075ace7b61301c78935d82b4f28992d92a5.tar.bz2 dexon-19866075ace7b61301c78935d82b4f28992d92a5.tar.lz dexon-19866075ace7b61301c78935d82b4f28992d92a5.tar.xz dexon-19866075ace7b61301c78935d82b4f28992d92a5.tar.zst dexon-19866075ace7b61301c78935d82b4f28992d92a5.zip |
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. |