mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 00:19:49 +00:00
Rename system_networkState to system_unstable_networkState (#8001)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user