mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
decred: dust seems to be 0.025, under the tx fee
This commit is contained in:
parent
4f0ad69619
commit
4d23f95d04
1 changed files with 3 additions and 1 deletions
|
@ -24,8 +24,10 @@ function BackendCoinPayments($coin)
|
|||
$txfee = floatval($coin->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);
|
||||
if($coin->symbol == 'DCR') $min_payout = 0.025;
|
||||
}
|
||||
|
||||
$users = getdbolist('db_accounts', "balance>$min_payout and coinid={$coin->id}");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue