Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
change eth_call to 'latest' as nodes require pruning disabled for 'pe…
Browse files Browse the repository at this point in the history
…nding'
  • Loading branch information
kvhnuke committed Aug 18, 2018
1 parent 9d6a8ea commit 60bc029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/nodeHelpers/customNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ customNode.prototype.getEthCall = function(txobj, callback) {
});
}, 500);
}
ethCallArr.calls.push({ "id": parentObj.getRandomID(), "jsonrpc": "2.0", "method": "eth_call", "params": [{ to: txobj.to, data: txobj.data }, 'pending'] });
ethCallArr.calls.push({ "id": parentObj.getRandomID(), "jsonrpc": "2.0", "method": "eth_call", "params": [{ to: txobj.to, data: txobj.data }, 'latest'] });
ethCallArr.callbacks.push(callback);
}
customNode.prototype.getTraceCall = function(txobj, callback) {
Expand Down

0 comments on commit 60bc029

Please sign in to comment.