decred: dust seems to be 0.025, under the tx fee

This commit is contained in:
Tanguy Pruvot 2016-02-22 12:46:30 +01:00
parent 4f0ad69619
commit 4d23f95d04

View file

@ -24,8 +24,10 @@ function BackendCoinPayments($coin)
$txfee = floatval($coin->txfee); $txfee = floatval($coin->txfee);
$min_payout = max(floatval(YAAMP_PAYMENTS_MINI), $txfee); $min_payout = max(floatval(YAAMP_PAYMENTS_MINI), $txfee);
if(date("w", time()) == 0 && date("H", time()) > 18) // sunday evening, minimum reduced if(date("w", time()) == 0 && date("H", time()) > 18) { // sunday evening, minimum reduced
$min_payout = max($min_payout/10, $txfee); $min_payout = max($min_payout/10, $txfee);
if($coin->symbol == 'DCR') $min_payout = 0.025;
}
$users = getdbolist('db_accounts', "balance>$min_payout and coinid={$coin->id}"); $users = getdbolist('db_accounts', "balance>$min_payout and coinid={$coin->id}");