remove unused code from getblockchaininfo()
Merge pull request #4328

f379047 remove unused code from getblockchaininfo() (Philip Kaufmann)