Get contributor by ID
Co-Authored-By: skddc <sebastian@kip.pe>
This commit is contained in:
parent
e4c3d9a468
commit
a1a1c5ef9f
@ -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