Merge pull request #39 from 67P/refactor/contributor-management

Use contributors contract to add new contributors
This commit was merged in pull request #39.
This commit is contained in:
2018-04-08 12:12:52 +00:00
committed by GitHub
+1 -1
View File
@@ -278,7 +278,7 @@ export default Service.extend({
return attributes; return attributes;
}) })
.then((attributes) => { .then((attributes) => {
return this.get('kreditsContract') return this.get('contributorsContract')
.then((contract) => { .then((contract) => {
let { address, isCore, ipfsHash } = attributes; let { address, isCore, ipfsHash } = attributes;
let { digest, hashFunction, hashSize } = toBytes32(ipfsHash); let { digest, hashFunction, hashSize } = toBytes32(ipfsHash);