everyone!
I have faced with one problem.
I can find the transaction hash once transaction is created.
Because I am watching the blocks with newBlockHeader event.
At the moment, I want to check and update the confirmation number of this transaction.
I tried with this
web3.eth.blockNumber-web3.eth.getTransaction(<txhash>).blockNumber.
But it returns NaN.
How can I do?
web3.eth.getTransaction().blockNumber : undefined
Both of 2 values are all
– H.Ming Feb 12 '18 at 16:26undefined. Andeth.syncingreturnsfalsein geth console