From 888c15d8349eafd5fa127a6379d7c7c4da403f86 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 29 Jun 2022 14:41:27 +0200 Subject: [PATCH] rollback setInterval --- apps/remix-ide/src/blockchain/blockchain.js | 2 +- libs/remix-ui/run-tab/src/lib/actions/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/blockchain/blockchain.js b/apps/remix-ide/src/blockchain/blockchain.js index 60b27186cd..5f6d3ad6c6 100644 --- a/apps/remix-ide/src/blockchain/blockchain.js +++ b/apps/remix-ide/src/blockchain/blockchain.js @@ -74,7 +74,7 @@ export class Blockchain extends Plugin { this.networkStatus = { network, error } this.event.trigger('networkStatus', [this.networkStatus]) }) - }, 100000) + }, 1000) } getCurrentNetworkStatus () { diff --git a/libs/remix-ui/run-tab/src/lib/actions/index.ts b/libs/remix-ui/run-tab/src/lib/actions/index.ts index 9943cfc727..5dc0eb2de7 100644 --- a/libs/remix-ui/run-tab/src/lib/actions/index.ts +++ b/libs/remix-ui/run-tab/src/lib/actions/index.ts @@ -26,7 +26,7 @@ export const initRunTab = (udapp: RunTab) => async (reducerDispatch: React.Dispa setupEvents(plugin, dispatch) setInterval(() => { fillAccountsList(plugin, dispatch) - }, 10000000) + }, 1000) } export const setAccountAddress = (account: string) => setAccount(dispatch, account)