Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Syntax error on Python code example for sending payment #589

Open
TheBokiya opened this issue Nov 8, 2021 · 0 comments
Open

Syntax error on Python code example for sending payment #589

TheBokiya opened this issue Nov 8, 2021 · 0 comments

Comments

@TheBokiya
Copy link

This line of example code for Python throws a syntax error on the asset argument.

.append_payment_op(destination=destination_id, amount="10", asset=Asset("XLM"))

It should be:

.append_payment_op(destination=destination_id, amount="10", asset_code="XLM")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@TheBokiya and others