Sustract fee to manual_payout cron too.
This commit is contained in:
parent
8f28b3c3d6
commit
80d2cda399
@ -62,7 +62,7 @@ if (count($aPayouts) > 0) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
$bitcoin->sendtoaddress($aData['coin_address'], $dBalance);
|
$bitcoin->sendtoaddress($aData['coin_address'], $dBalance - $config['txfee']);
|
||||||
} catch (BitcoinClientException $e) {
|
} catch (BitcoinClientException $e) {
|
||||||
$log->logError('Failed to send requested balance to coin address, please check payout process');
|
$log->logError('Failed to send requested balance to coin address, please check payout process');
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user