diff --git a/lnbits/core/views/wallet_api.py b/lnbits/core/views/wallet_api.py index 1a484a1b4..e0f663b2c 100644 --- a/lnbits/core/views/wallet_api.py +++ b/lnbits/core/views/wallet_api.py @@ -66,7 +66,7 @@ async def api_update_wallet( if not wallet: raise HTTPException(status_code=HTTPStatus.NOT_FOUND, detail="Wallet not found") wallet.name = name or wallet.name - wallet.currency = currency or wallet.currency + wallet.currency = currency if currency is not None else wallet.currency await update_wallet(wallet) return wallet