Skip to content

Commit e0dc0cb

Browse files
authored
Fix Mercatox ticker API
1 parent 8a87239 commit e0dc0cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/classes/tools.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function getPrice() {
158158
return @$aData['Last'];
159159
break;
160160
case 'mercatox':
161-
return @$aData["{$strBase}_{$strQuote}"]['last'];
161+
return @$aData['pairs']["{$strBase}_{$strQuote}"]['last'];
162162
break;
163163
case 'tradeogre':
164164
return @$aData['price'];

0 commit comments

Comments
 (0)