mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Rename system_networkState to system_unstable_networkState (#8001)
This commit is contained in:
@@ -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