diff --git a/src/Connection/RestClient.php b/src/Connection/RestClient.php index 4c45eb2..737c079 100644 --- a/src/Connection/RestClient.php +++ b/src/Connection/RestClient.php @@ -45,7 +45,7 @@ public function __construct($apiEndpoint, $apiVersion, $apiKey, $apiSecret) { if ($throttle = \getenv('BLOCKTRAIL_SDK_THROTTLE_BTCCOM')) { $throttle = (float)$throttle; } else { - $throttle = 0.3; + $throttle = 0.5; } $this->throttler = Throttler::getInstance($this->apiEndpoint, $throttle); diff --git a/tests/IntegrationTests/DataAPIIntegrationTest.php b/tests/IntegrationTests/DataAPIIntegrationTest.php index 37f3468..adb6bb5 100644 --- a/tests/IntegrationTests/DataAPIIntegrationTest.php +++ b/tests/IntegrationTests/DataAPIIntegrationTest.php @@ -126,22 +126,6 @@ public function testPrice() { $this->assertTrue($price['USD'] > 0, "is above 0 [{$price['USD']}]"); } - public function testVerifyMessage() { - $client = $this->setupBlocktrailSDK(); - - - $address = "1F26pNMrywyZJdr22jErtKcjF8R3Ttt55G"; - $message = $address; - $signature = "H85WKpqtNZDrajOnYDgUY+abh0KCAcOsAIOQwx2PftAbLEPRA7mzXA/CjXRxzz0MC225pR/hx02Vf2Ag2x33kU4="; - - // test locally - $this->assertTrue($client->verifyMessage($message, $address, $signature)); - - // test using the API for it - $response = $client->getRestClient()->post("verify_message", null, ['message' => $message, 'address' => $address, 'signature' => $signature]); - $this->assertTrue(json_decode($response->body(), true)['result']); - } - private function assertEqualsExceptKeys($expected, $actual, $keys) { $expected1 = $expected; $actual1 = $actual;