Skip to content

Commit

Permalink
Update app/core/climate_wallet/wallet.py
Browse files Browse the repository at this point in the history
Co-authored-by: Amine Khaldi <[email protected]>
  • Loading branch information
Quexington and AmineKhaldi authored Oct 23, 2024
1 parent bda687a commit d732e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core/climate_wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit d732e78

Please sign in to comment.