Cleanup kredits service #58

Merged
fsmanuel merged 5 commits from cleanup/kredits-service into master 2018-04-21 10:09:36 +00:00
Showing only changes of commit 8fed06b494 - Show all commits
+2 -2
View File
@@ -25,7 +25,7 @@ export default Service.extend({
// this is called in the routes beforeModel(). So it is initialized before everything else
// and we can rely on the ethProvider and the potential currentUserAccounts to be available
initEthProvider: function() {
getEthProvider: function() {
return new RSVP.Promise((resolve) => {
let ethProvider;
let networkId;
@@ -53,7 +53,7 @@ export default Service.extend({
},
setup() {
return this.initEthProvider().then((ethProvider) => {
return this.getEthProvider().then((ethProvider) => {
let ethSigner;
if (ethProvider.getSigner) {