From 164ad7245c4a8e3824138e5022ccb9bad289fa35 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 18 Feb 2024 00:26:18 +0200 Subject: [PATCH] fix variable name --- src/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 2bb3282..53aa3af 100644 --- a/src/Client.php +++ b/src/Client.php @@ -129,7 +129,7 @@ class Client return null; } - public function getBalance(?string $address = null, ?int $minconf = null): ?float + public function getBalance(?string $account = null, ?int $minconf = null): ?float { $this->_id++; @@ -140,7 +140,7 @@ class Client 'method' => 'getbalance', 'params' => [ - $address, + $account, $minconf ], 'id' => $this->_id