mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 12:34:25 +00:00
fix pool payment sender
This commit is contained in:
parent
8dc93f2d02
commit
3bc438a84b
@ -117,15 +117,10 @@ class CrontabController extends AbstractController
|
||||
}
|
||||
|
||||
// Send this amount to profit account
|
||||
$client->sendToAddress(
|
||||
$client->sendFrom(
|
||||
$this->getParameter('app.kevacoin.pool.account'),
|
||||
$this->getParameter('app.kevacoin.profit.address'),
|
||||
$pool->getCost(),
|
||||
sprintf(
|
||||
'#%d',
|
||||
$pool->getId()
|
||||
),
|
||||
null,
|
||||
true // subtract from amount
|
||||
$pool->getCost()
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user