mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 22:07:58 +00:00
Telemetry - change NetworkState from string to json (#2338)
* change NetworkState from string to json in telemetry
This commit is contained in:
@@ -82,7 +82,7 @@ pub fn start<C>(service: &Service<C>, exit: ::exit_future::Exit, handle: TaskExe
|
||||
(proc.cpu_usage(), proc.memory())
|
||||
} else { (0.0, 0) };
|
||||
|
||||
let network_state = serde_json::to_string(&network.network_state()).unwrap_or_default();
|
||||
let network_state = network.network_state();
|
||||
|
||||
telemetry!(
|
||||
SUBSTRATE_INFO;
|
||||
|
||||
Reference in New Issue
Block a user