Do not rely on `getinfo` call (#28)
Do not rely on `getinfo` call (#28)

The `getinfo` call will be removed in bitcoin 0.16.

Instead we should use the `getblockchaininfo` call to assert chain
match. The call exists since at least bitcoin 0.11, so we should be
fine.

See https://bitcoin.org/en/developer-reference#getblockchaininfo

Issue: BG-2862
BitGo/bitgod