remove unused code from getblockchaininfo()