Update edit.inc.php

Emergency fix: Transactions are not aborted if RPC transfer failed.
This commit is contained in:
Sebastian Grewe 2013-06-10 11:31:49 +03:00
parent 37beca9385
commit 463f199040

View File

@ -36,7 +36,7 @@ if ( ! $user->checkPin($_SESSION['USERDATA']['id'], $_POST['authPin']) && $_POST
}
} catch (BitcoinClientException $e) {
$_SESSION['POPUP'][] = array('CONTENT' => 'Failed to send LTC, please contact site support immidiately', 'TYPE' => 'errormsg');
// $continue = false;
$continue = false;
}
}
// Set balance to 0, add to paid out, insert to ledger