Skip to content

Commit

Permalink
Add mBTC currency conversion, #63
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrenWestwood committed Nov 22, 2019
1 parent 82d41ef commit 55523a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gateways/Blockonomics/Blockonomics.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ public function getMargin() {
*/
public function getBitcoinAmount($fiat_amount, $currency) {
try {
if($currency == 'BTC'){
$price = 1;
if($currency == 'mBTC'){
$price = 0.001;
}else{
$ch = curl_init();

Expand Down

0 comments on commit 55523a7

Please sign in to comment.