Skip to content

Commit

Permalink
Fix set_status accidental arg (#16860)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quexington authored Nov 20, 2023
1 parent 6f3f54c commit d09b3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chia/wallet/trade_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d09b3a8

Please sign in to comment.