Compare commits
1 Commits
master
...
feature/ip
Author | SHA1 | Date | |
---|---|---|---|
a7c497da6a |
@ -58,7 +58,10 @@ class Contribution extends Record {
|
||||
ipfsHashAttr.hashSize,
|
||||
];
|
||||
|
||||
return this.functions.add(...contribution, callOptions);
|
||||
return this.functions.add(...contribution, callOptions).then(res => {
|
||||
res.ipfsHash = this.ipfs.encodeHash(ipfsHashAttr);
|
||||
return res;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user