From d732e78e6792a98c03d0f476d999d974603772ce Mon Sep 17 00:00:00 2001 From: Matt Hauff Date: Wed, 23 Oct 2024 14:57:23 -0700 Subject: [PATCH] Update app/core/climate_wallet/wallet.py Co-authored-by: Amine Khaldi --- app/core/climate_wallet/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/climate_wallet/wallet.py b/app/core/climate_wallet/wallet.py index 90b883d..b5286f3 100644 --- a/app/core/climate_wallet/wallet.py +++ b/app/core/climate_wallet/wallet.py @@ -233,7 +233,7 @@ async def _create_transaction( for tx in response.transactions: if unsigned_gateway_coin_spend.coin in tx.additions: spend_bundle = SpendBundle.aggregate( - [gateway_spend_bundle, *([] if tx.spend_bundle is None else [tx.spend_bundle])] + [gateway_spend_bundle] + ([] if tx.spend_bundle is None else [tx.spend_bundle]) ) additions = [ *(add for add in tx.additions if add != unsigned_gateway_coin_spend.coin),