Fix contributor id lookup for proposal creation script
This commit is contained in:
parent
b1345b53f3
commit
89261d039a
@ -19,7 +19,7 @@ module.exports = function(callback) {
|
|||||||
if (contributor.length < 5) {
|
if (contributor.length < 5) {
|
||||||
contributorId = contributor;
|
contributorId = contributor;
|
||||||
} else {
|
} else {
|
||||||
contributorId = await contributors.getContributorIdByAddress(contributor);
|
contributorId = await kredits.Contributor.functions.getContributorIdByAddress(contributor);
|
||||||
}
|
}
|
||||||
console.log(`Creating a proposal for contributor ID #${contributorId}`);
|
console.log(`Creating a proposal for contributor ID #${contributorId}`);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user