get balance with settimeout due to weeb3 issue

This commit is contained in:
Iuri Matias 2019-10-02 21:43:58 -04:00
parent 679609aef8
commit 2a383a7ffd
1 changed files with 5 additions and 2 deletions

View File

@ -147,9 +147,12 @@ export default class Subspace {
};
}
this.web3.getBlock('latest').then(block => {
// FIX ME: has issues immediatly getting the value
// this.web3.getBlock('latest').then(block => {
setTimeout(() => {
callFn();
});
}, 500);
// });
this.callables.push(callFn);