mirror of https://github.com/status-im/nim-eth.git
metrics: port to new API
This commit is contained in:
parent
0a5ffaa8b3
commit
e195868a64
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue