fix pool payment sender

This commit is contained in:
ghost 2024-02-18 04:49:58 +02:00
parent 8dc93f2d02
commit 3bc438a84b

View File

@ -117,15 +117,10 @@ class CrontabController extends AbstractController
} }
// Send this amount to profit account // Send this amount to profit account
$client->sendToAddress( $client->sendFrom(
$this->getParameter('app.kevacoin.pool.account'),
$this->getParameter('app.kevacoin.profit.address'), $this->getParameter('app.kevacoin.profit.address'),
$pool->getCost(), $pool->getCost()
sprintf(
'#%d',
$pool->getId()
),
null,
true // subtract from amount
); );
} }