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
Showing only changes of commit c795e27b61 - Show all commits
+4
View File
@@ -8,6 +8,10 @@ export default Route.extend({
const kredits = this.kredits;
return kredits.setup().then(() => {
kredits.get('kredits').healthcheck().catch((error) => {
console.error('Kredits healthcheck 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#b6bc5af7bf4c9b7aded6a032bd7acb0bd57e475d",
"version": "github:67P/truffle-kredits#ee886e6cd08e2d7ef0c3e1c5952a15c918d20224",
"dev": true,
"requires": {
"ethers": "3.0.15",