Browse Source
- error precision: in case there is an error but it's not a "NotEnoughBalance" error, we display it instead - canBeSpent(a,t)=>Promise<bool> was replaced by checkCanBeSpent(a,t)=>Promise<void> which will throw if something is wrong (NotEnoughBalance or something else!) - cache eviction of bad error: in case such an error happen, we clear the cache to allow to always retry the call that fails - the cache make sure it is always up to date by taking a.blockHeightmaster
Gaëtan Renaudeau
7 years ago
9 changed files with 56 additions and 28 deletions
Loading…
Reference in new issue