From 944395d42d16dc72ff766d8a43190c437484dc8c Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Mon, 7 Aug 2017 18:37:45 +0200 Subject: [PATCH] Remove obsolete function --- index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/index.js b/index.js index 5d3b2f8..510b3a9 100644 --- a/index.js +++ b/index.js @@ -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 => {