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
22f62b47f0
commit
2a6c2b22a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue