From d09b3a820791c085dd5ae6322b844bae4d3a5822 Mon Sep 17 00:00:00 2001 From: Matt Hauff Date: Mon, 20 Nov 2023 08:40:20 -0800 Subject: [PATCH] Fix set_status accidental arg (#16860) --- chia/wallet/trade_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chia/wallet/trade_manager.py b/chia/wallet/trade_manager.py index 9ba5c01066d7..0fccd2ef51c7 100644 --- a/chia/wallet/trade_manager.py +++ b/chia/wallet/trade_manager.py @@ -174,7 +174,7 @@ async def coins_of_interest_farmed( # If any of our settlement_payments were spent, this offer was a success! if set(our_addition_ids) == set(coin_state_names): height = coin_states[0].created_height - await self.trade_store.set_status(trade.trade_id, TradeStatus.CONFIRMED, height) + await self.trade_store.set_status(trade.trade_id, TradeStatus.CONFIRMED, index=height) tx_records: List[TransactionRecord] = await self.calculate_tx_records_for_offer(offer, False) for tx in tx_records: if TradeStatus(trade.status) == TradeStatus.PENDING_ACCEPT: