diff --git a/p2p/protocols/accounting_api.go b/p2p/protocols/accounting_api.go index 3a203b2eb8..ad3dca6c9c 100644 --- a/p2p/protocols/accounting_api.go +++ b/p2p/protocols/accounting_api.go @@ -13,7 +13,7 @@ type AccountingApi struct { } // NewAccountingApi creates a new AccountingApi -// If m is not nil, it will be used to get accounting metrics +// m will be used to check if accounting metrics is enabled func NewAccountingApi(m *AccountingMetrics) *AccountingApi { return &AccountingApi{m} }