fix return for compatibility
This commit is contained in:
parent
b9104bf63b
commit
12bd930334
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ async def api_wallet_delete(wallet_id, w: WalletTypeInfo = Depends(require_admin
|
||||||
async def api_fresh_address(wallet_id, w: WalletTypeInfo = Depends(get_key_type)):
|
async def api_fresh_address(wallet_id, w: WalletTypeInfo = Depends(get_key_type)):
|
||||||
address = await get_fresh_address(wallet_id)
|
address = await get_fresh_address(wallet_id)
|
||||||
|
|
||||||
return address.dict()
|
return [address.dict()]
|
||||||
|
|
||||||
|
|
||||||
@watchonly_ext.get("/api/v1/addresses/{wallet_id}")
|
@watchonly_ext.get("/api/v1/addresses/{wallet_id}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue