Use contributors contract to add new contributors

related: https://github.com/67P/truffle-kredits/pull/17
This commit is contained in:
2018-04-08 13:17:35 +02:00
parent 27f4006f05
commit 5390c5cea8
+1 -1
View File
@@ -261,7 +261,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);