fix variable name

This commit is contained in:
ghost 2024-02-18 00:26:18 +02:00
parent 01c8e7fe3b
commit 164ad7245c

View File

@ -129,7 +129,7 @@ class Client
return null; return null;
} }
public function getBalance(?string $address = null, ?int $minconf = null): ?float public function getBalance(?string $account = null, ?int $minconf = null): ?float
{ {
$this->_id++; $this->_id++;
@ -140,7 +140,7 @@ class Client
'method' => 'getbalance', 'method' => 'getbalance',
'params' => 'params' =>
[ [
$address, $account,
$minconf $minconf
], ],
'id' => $this->_id 'id' => $this->_id