diff --git a/src/Denpa/Bitcoin/Client.php b/src/Denpa/Bitcoin/Client.php index fad1123..fae9ee1 100644 --- a/src/Denpa/Bitcoin/Client.php +++ b/src/Denpa/Bitcoin/Client.php @@ -72,7 +72,7 @@ public function __construct(Array $params = []) $params['password'] ], 'verify' => (isset($params['ca']) && is_file($params['ca']) ? $params['ca'] : true), - 'handler' => (isset($params['handler']) ? $params['handler'] : ''), + 'handler' => (isset($params['handler']) ? $params['handler'] : null), ]); } diff --git a/tests/Denpa/Bitcoin/ClientTest.php b/tests/Denpa/Bitcoin/ClientTest.php index 6b1a9fe..3295956 100644 --- a/tests/Denpa/Bitcoin/ClientTest.php +++ b/tests/Denpa/Bitcoin/ClientTest.php @@ -142,4 +142,6 @@ public function testClientExceptionWithServerErrorCode(Client $bitcoind) { return $bitcoind; } -} \ No newline at end of file +} + +?> \ No newline at end of file