From 4752915e4d425ef810f5b13b8e572eb6067626d7 Mon Sep 17 00:00:00 2001 From: Paul Kirby Date: Mon, 27 Jan 2020 16:49:03 -0600 Subject: [PATCH] Get address from returned items list in Address_List --- classes/LBRY_Admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/LBRY_Admin.php b/classes/LBRY_Admin.php index f9ae10d..8d2f9bb 100644 --- a/classes/LBRY_Admin.php +++ b/classes/LBRY_Admin.php @@ -148,9 +148,9 @@ class LBRY_Admin */ public function wallet_callback() { - // Get first available address from Daemon + // Get first available account address from Daemon $address = LBRY()->daemon->address_list()->items; - $address = is_array($address) && !empty($address) ? $address[0] : ''; + $address = is_array($address) && !empty($address) ? $address[0]->address : ''; printf( '', LBRY_WALLET,