[ADDED] Missing comment

This commit is contained in:
Sebastian Grewe 2014-02-28 09:20:07 +01:00
parent 9969352056
commit dcdc22b15b

View File

@ -334,6 +334,7 @@ class Transaction extends Base {
return $this->createDebitRecord($account_id, $coin_address, $amount, 'Debit_AP'); return $this->createDebitRecord($account_id, $coin_address, $amount, 'Debit_AP');
} }
private function createDebitRecord($account_id, $coin_address, $amount, $type) { private function createDebitRecord($account_id, $coin_address, $amount, $type) {
// Calculate and deduct txfee from amount
$type == 'Debit_MP' ? $txfee = $this->config['txfee_manual'] : $txfee = $this->config['txfee_auto']; $type == 'Debit_MP' ? $txfee = $this->config['txfee_manual'] : $txfee = $this->config['txfee_auto'];
$amount = $amount - $txfee; $amount = $amount - $txfee;
// Add Debit record // Add Debit record