diff --git a/index.js b/index.js index bf61d80..42e1f6e 100644 --- a/index.js +++ b/index.js @@ -110,6 +110,9 @@ module.exports = function(client, steem, currentBlockNumber=1, blockComputeSpeed var op = transactions[i].operations[j]; if(op[0] === 'custom_json') { if(typeof onCustomJsonOperation[op[1].id] === 'function') { + var ip = JSON.parse(op[1].json), + from = op[1].required_posting_auths[0], + active = false var ip = JSON.parse(op[1].json); var from = op[1].required_posting_auths[0]; var active = false;