From 039ad288e53545e3d1ba64d5c6469381e607db5b Mon Sep 17 00:00:00 2001 From: Matt Hauff Date: Wed, 23 Oct 2024 14:57:35 -0700 Subject: [PATCH] Update app/core/climate_wallet/wallet.py Co-authored-by: Amine Khaldi --- app/core/climate_wallet/wallet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/core/climate_wallet/wallet.py b/app/core/climate_wallet/wallet.py index b5286f3..678e3bb 100644 --- a/app/core/climate_wallet/wallet.py +++ b/app/core/climate_wallet/wallet.py @@ -236,9 +236,8 @@ async def _create_transaction( [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), - *gateway_spend_bundle.additions(), - ] + add for add in tx.additions if add != unsigned_gateway_coin_spend.coin + ] + gateway_spend_bundle.additions() else: spend_bundle = tx.spend_bundle additions = tx.additions