Revert "Small bug fix" because it broke build

Reverts bitpay/php-bitpay-client#84.  Please fix test and recommit.