Fully synced node returns null
for old transactions when queried using getTransaction
or getTransactionReceipt
.
Using getTransactionFromBlock(blockNumber, txIndex)
however will return the transaction.
Any idea why this happens and how to fix?