Browse Source

add confirmations attribute

main
ghost 10 months ago
parent
commit
8ede658f33
  1. 6
      src/Twig/AppExtension.php

6
src/Twig/AppExtension.php

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

Loading…
Cancel
Save