lottery-bot icon indicating copy to clipboard operation
lottery-bot copied to clipboard

Hi, I have some question about watcher.js

Open joohhnnn opened this issue 2 years ago • 1 comments

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 []

joohhnnn avatar Jun 03 '22 15:06 joohhnnn

then I delete the code of pulling all pending transaction and I can get the tx detail information

joohhnnn avatar Jun 03 '22 15:06 joohhnnn