Skip to content

Commit 0d2a144

Browse files
committed
v1.7.1
* Minor improvements
1 parent eb59544 commit 0d2a144

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CryptAPI/CryptAPI.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function __construct($coin, $own_address, $callback_url, $parameters = []
3737

3838
$this->valid_coins = CryptAPI::get_supported_coins();
3939

40+
$coin = str_replace('/', '_', (string) $coin);
41+
4042
if (!in_array($coin, $this->valid_coins)) {
4143
$vc = print_r($this->valid_coins, true);
4244
throw new Exception("Unsupported Coin: {$coin}, Valid options are: {$vc}");

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929
"CryptAPI\\": "CryptAPI/"
3030
}
3131
},
32-
"version": "1.7.0"
32+
"version": "1.7.1"
3333
}

0 commit comments

Comments
 (0)