get balance with settimeout due to weeb3 issue
This commit is contained in:
parent
679609aef8
commit
2a383a7ffd
|
@ -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();
|
callFn();
|
||||||
});
|
}, 500);
|
||||||
|
// });
|
||||||
|
|
||||||
this.callables.push(callFn);
|
this.callables.push(callFn);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue