Use new healthcheck API from kredits-contracts #59

Closed
bumi wants to merge 4 commits from refactor/healthcheck into master
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -8,6 +8,10 @@ export default Route.extend({
const kredits = this.kredits;
return kredits.setup().then(() => {
kredits.get('kredits').preflightChecks().catch((error) => {
console.error('Kredits preflight check failed!');
console.error(error);
});
if (kredits.get('accountNeedsUnlock')) {
if (confirm('It looks like you have an Ethereum wallet available. Please unlock your account.')) {
transition.retry();
+1 -1
View File
@@ -13456,7 +13456,7 @@
}
},
"kredits-contracts": {
"version": "github:67P/truffle-kredits#92c566c13cd5d28aae8060677540af6330c2795a",
"version": "github:67P/truffle-kredits#1779d66ee60c03db1f5d58bf06229f34edcce8c5",
"dev": true,
"requires": {
"ethers": "3.0.15",