Convert contribution owner to ID, use smaller number formats #73
@ -27,6 +27,9 @@ class Contribution extends Base {
|
||||
}
|
||||
|
||||
getByContributorId(contributorId) {
|
||||
return this.functions.getContributorAddressById(contributorId)
|
||||
.then(address => this.getByContributorAddress(address));
|
||||
}
|
||||
// return this.functions.balanceOf(address)
|
||||
// then(balance => {
|
||||
// count = balance.toNumber();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user