metrics: port to new API

This commit is contained in:
Ștefan Talpalaru 2019-07-17 00:21:37 +02:00
parent 0a5ffaa8b3
commit e195868a64
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 1 deletions

View File

@ -10,5 +10,5 @@ proc parseAddress*(hexString: string): EthAddress =
proc `$`*(a: EthAddress): string =
a.toHex()
newPublicGauge connected_peers, "number of peers in the pool"
declarePublicGauge connected_peers, "number of peers in the pool"