Remove obsolete function

This commit is contained in:
Basti 2017-08-07 18:37:45 +02:00
parent ec13c2a5c8
commit 944395d42d

View File

@ -101,15 +101,6 @@ const tv4 = require('tv4');
});
}
// function getValueFromContract(contractMethod, ...args) {
// return new Promise((resolve, reject) => {
// kredits.contract[contractMethod](...args, (err, data) => {
// if (err) { reject(err); }
// resolve(data);
// });
// });
// }
function loadProfileFromIPFS(contributor) {
let promise = new Promise((resolve, reject) => {
return ipfs.cat(contributor.profileHash, { buffer: true }).then(res => {