mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
backend: prevent php bug on empty masternode payee field (LUX)
This commit is contained in:
parent
8fb9a74164
commit
adbdad424e
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ function BackendCoinsUpdate()
|
|||
$coin->charity_amount = $template['_V2']/100000000;
|
||||
|
||||
if(isset($template['payee_amount']) && $coin->symbol != 'LIMX') {
|
||||
$coin->charity_amount = $template['payee_amount']/100000000;
|
||||
$coin->charity_amount = doubleval($template['payee_amount'])/100000000;
|
||||
$coin->reward -= $coin->charity_amount;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue