Update monero_payments.php

This commit is contained in:
serhack 2017-08-14 10:52:50 +02:00 committed by GitHub
parent db265e5dee
commit 0b02637507

View File

@ -398,7 +398,7 @@ public function add_my_currency_symbol( $currency_symbol, $currency ) {
public function getamountinfo(){ public function getamountinfo(){
$wallet_amount = $this->monero_daemon->getbalance(); $wallet_amount = $this->monero_daemon->getbalance();
if(isset($wallet_amount)){ if(isset($wallet_amount)){
$this->log->add('Monero_gateway','[ERROR] Connection wi$ $this->log->add('Monero_gateway','[ERROR] Connection with daemon absend');
$wallet_amount['balance'] = "0"; $wallet_amount['balance'] = "0";
$wallet_amount['unlocked_balance'] = "0"; $wallet_amount['unlocked_balance'] = "0";
} }