Display contribution balances not token balances #107
@@ -118,9 +118,7 @@ export default Service.extend({
|
||||
|
||||
totalKreditsEarned: computed(function() {
|
||||
return this.kredits.Contribution.functions.totalKreditsEarned(true)
|
||||
|
|
||||
.then(total => {
|
||||
return total.toNumber();
|
||||
});
|
||||
.then(total => total.toNumber());
|
||||
}),
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user
Not a fan of the unnamed
truein this new function call, because the meaning is completely hidden, until one finds and reads the Solidity source code of it.yes, me neither. but it is a contract call and generated from the wrapper.
could at some write our own function in the wrapper class.
Ah, yes.