Use contributors contract to add new contributors
related: https://github.com/67P/truffle-kredits/pull/17
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user