lottery-bot
lottery-bot copied to clipboard
Hi, I have some question about watcher.js
1)I wonder that why you "get all the pending transactions" under the "
subscribe('pendingTransactions'
", why you dont use txHash directly.
2) I write this down,pendingTransactions = await web3.eth.getPendingTransactions().then(console.log())
but out put []
then I delete the code of pulling all pending transaction and I can get the tx detail information