Update LBRY_Daemon.php

removed not used $wallet_available variable statement.
This commit is contained in:
Lemuel Smyth 2022-01-28 16:41:42 -06:00 committed by GitHub
parent cb2239e403
commit 04e600a12d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,6 @@ class LBRY_Daemon
try { // Convert JSON string to an object try { // Convert JSON string to an object
$result = $this->request('wallet_balance'); $result = $this->request('wallet_balance');
return $result; return $result;
$wallet_balance = $result;
} catch (LBRYDaemonException $e) { } catch (LBRYDaemonException $e) {
$this->logger->log('account_balance error', $e->getMessage() . ' | Code: ' . $e->getCode()); $this->logger->log('account_balance error', $e->getMessage() . ' | Code: ' . $e->getCode());
LBRY()->notice->set_notice('error', 'Issue getting account balance.'); LBRY()->notice->set_notice('error', 'Issue getting account balance.');