Browse Source

fix pool payment sender

main
ghost 9 months ago
parent
commit
3bc438a84b
  1. 11
      src/Controller/CrontabController.php

11
src/Controller/CrontabController.php

@ -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
); );
} }

Loading…
Cancel
Save