mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
p2p/protocols: accounting api doc update (#847)
This commit is contained in:
parent
2a6c2b22a5
commit
d1d0b88c8f
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ type AccountingApi struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewAccountingApi creates a new AccountingApi
|
// NewAccountingApi creates a new AccountingApi
|
||||||
// m will be used to check if accounting metrics is enabled
|
// m will be used to check if accounting metrics are enabled
|
||||||
func NewAccountingApi(m *AccountingMetrics) *AccountingApi {
|
func NewAccountingApi(m *AccountingMetrics) *AccountingApi {
|
||||||
return &AccountingApi{m}
|
return &AccountingApi{m}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue