Previously blocks with only the coinbase transaction didn't cause the RPC error even if the requested stats required -txindex and it wasn't enabled.
Fixes #14499.
Previously blocks with only the coinbase transaction didn't cause
the RPC error even if the requested stats required -txindex and
it wasn't enabled.
utACK 3be209d103297aaf2fe4711e237a65046488ea19
utACK 3be209d103297aaf2fe4711e237a65046488ea19
Tested ACK 3be209d103297aaf2fe4711e237a65046488ea1
I had also been confused by this behavior before, so this seems right.
utACK 3be209d103297aaf2fe4711e237a65046488ea19