add confirmations attribute

This commit is contained in:
ghost 2024-02-18 17:31:39 +02:00
parent 5ef1c4fad7
commit 8ede658f33

View File

@ -278,7 +278,8 @@ class AppExtension extends AbstractExtension
} }
public function accountBalance( public function accountBalance(
string $account string $account,
?int $confirmations = null
): ?float ): ?float
{ {
// Connect kevacoin // Connect kevacoin
@ -291,7 +292,8 @@ class AppExtension extends AbstractExtension
); );
return $client->getBalance( return $client->getBalance(
$account $account,
$confirmations
); );
} }