Rename system_networkState to system_unstable_networkState (#8001)

This commit is contained in:
Pierre Krieger authored and GitHub committed 2021-02-02 14:58:29 +00:00
1 parent 7d65b5aa59
commit 38b6182fb8
2 files changed
+7 -5

No files matched your search

@@ -27,8 +27,8 @@ async function start() {
setInterval(() => {
client
.rpcSend('{"method":"system_networkState","params":[],"id":1,"jsonrpc":"2.0"}')
.then((r) => log("Network state: " + r));
.rpcSend('{"method":"system_localPeerId","params":[],"id":1,"jsonrpc":"2.0"}')
.then((r) => log("Local PeerId: " + r));
}, 20000);
}