Skip to content

Commit 03207d5

Browse files
committed
docs: skip fee to return swapped tokens
1 parent d64264c commit 03207d5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • examples/acp_base/funds_transfer_v2/trading

examples/acp_base/funds_transfer_v2/trading/seller.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ def handle_task_transaction(job: ACPJob):
237237
logger.info(f"Returning swapped token: {swapped_amount}")
238238
job.deliver_payable(
239239
f"Return swapped token {job.requirement.get('toSymbol', 'VIRTUAL')}",
240-
swapped_amount
240+
swapped_amount,
241+
True # skip fee to return swapped tokens
241242
)
242243
logger.info("Swapped token returned")
243244

0 commit comments

Comments
 (0)