diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js
index 9dca2054c9..08d9387cc9 100644
--- a/src/app/tabs/run-tab.js
+++ b/src/app/tabs/run-tab.js
@@ -215,7 +215,7 @@ function runTab (container, appAPI, appEvents, opts) {
var el = yo`
- ${settings(appAPI, appEvents)}
+ ${settings(container, appAPI, appEvents)}
${contractDropdown(events, appAPI, appEvents, instanceContainer)}
${pendingTxsContainer}
${instanceContainer}
@@ -244,7 +244,7 @@ function runTab (container, appAPI, appEvents, opts) {
setInterval(() => {
updateAccountBalances(container, appAPI)
updatePendingTxs(container, appAPI)
- }, 500)
+ }, 10000)
events.register('clearInstance', () => {
instanceContainer.innerHTML = '' // clear the instances list
@@ -497,7 +497,7 @@ function contractDropdown (events, appAPI, appEvents, instanceContainer) {
/* ------------------------------------------------
section SETTINGS: Environment, Account, Gas, Value
------------------------------------------------ */
-function settings (appAPI, appEvents) {
+function settings (container, appAPI, appEvents) {
// SETTINGS HTML
var net = yo``
const updateNetwork = () => {
@@ -573,6 +573,7 @@ function settings (appAPI, appEvents) {
appEvents.udapp.register('transactionExecuted', (error, from, to, data, lookupOnly, txResult) => {
if (error) return
if (!lookupOnly) el.querySelector('#value').value = '0'
+ updateAccountBalances(container, appAPI)
})
return el