aboutsummaryrefslogtreecommitdiffstats
path: root/node/utils_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'node/utils_test.go')
-rw-r--r--node/utils_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/utils_test.go b/node/utils_test.go
index 8eddce3ed..9801b1ed4 100644
--- a/node/utils_test.go
+++ b/node/utils_test.go
@@ -121,12 +121,12 @@ func InstrumentedServiceMakerC(base ServiceConstructor) ServiceConstructor {
return InstrumentingWrapperMaker(base, reflect.TypeOf(InstrumentedServiceC{}))
}
-// OneMethodApi is a single-method API handler to be returned by test services.
-type OneMethodApi struct {
+// OneMethodAPI is a single-method API handler to be returned by test services.
+type OneMethodAPI struct {
fun func()
}
-func (api *OneMethodApi) TheOneMethod() {
+func (api *OneMethodAPI) TheOneMethod() {
if api.fun != nil {
api.fun()
}