Browse Source

fix variable name

main
ghost 9 months ago
parent
commit
164ad7245c
  1. 4
      src/Client.php

4
src/Client.php

@ -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

Loading…
Cancel
Save