accommondate btcd public api changes.