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: