Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rerun() {
- eth.pendingTransactions.forEach(function(transaction) {
- try {
- personal.sendTransaction({ from: transaction.from, to: transaction.from, value: 0, nonce: transaction.nonce });
- console.log(JSON.stringify({ from: transaction.from, to: transaction.from, value: 0, nonce: transaction.nonce, hash: transaction.hash }))
- } catch (e) {
- console.error(e);
- }
- });
- return "done";
- }
Add Comment
Please, Sign In to add comment