mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 12:34:25 +00:00
add confirmations attribute
This commit is contained in:
parent
5ef1c4fad7
commit
8ede658f33
@ -278,7 +278,8 @@ class AppExtension extends AbstractExtension
|
||||
}
|
||||
|
||||
public function accountBalance(
|
||||
string $account
|
||||
string $account,
|
||||
?int $confirmations = null
|
||||
): ?float
|
||||
{
|
||||
// Connect kevacoin
|
||||
@ -291,7 +292,8 @@ class AppExtension extends AbstractExtension
|
||||
);
|
||||
|
||||
return $client->getBalance(
|
||||
$account
|
||||
$account,
|
||||
$confirmations
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user