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 d732e78 commit 039ad28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/core/climate_wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 039ad28

Please sign in to comment.