Get address from returned items list in Address_List
This commit is contained in:
parent
16856008fe
commit
4752915e4d
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
'<input type="text" id="%1$s" name="%2$s[%1$s]" value="%3$s" readonly />',
|
||||
LBRY_WALLET,
|
||||
|
|
Loading…
Reference in a new issue