p2p/protocols: accounting api doc update (#847)

This commit is contained in:
Jerzy 2018-12-06 09:45:21 +01:00
parent 22f62b47f0
commit 2a6c2b22a5

View file

@ -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}
}