Skip to content

Commit

Permalink
Update core/commands/stat_provide.go
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
aschmahmann and lidel committed May 13, 2021
1 parent 35c25f1 commit e226399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/stat_provide.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This interface is not stable and may change from release to release.

sys, ok := nd.Provider.(*batched.BatchProvidingSystem)
if !ok {
return fmt.Errorf("can only return stats if the experimental DHT client is enabled")
return fmt.Errorf("can only return stats if Experimental.AcceleratedDHTClient is enabled")
}

stats, err := sys.Stat(req.Context)
Expand Down

0 comments on commit e226399

Please sign in to comment.