This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
Update examples for JS-SDK due to breaking changes in v0.12.0 #431
Comments
This should be updated in all relevant examples on the website e.g. on https://www.stellar.org/developers/guides/get-started/transactions.html |
The doc linked above should indeed be updated. |
chaseoli
added a commit
to chaseoli/js-stellar-base
that referenced
this issue
Feb 10, 2020
Related to stellar-deprecated/docs#431 I think the `.setTimeout()` was missed in this example.
abuiles
pushed a commit
to stellar/js-stellar-base
that referenced
this issue
Feb 10, 2020
Related to stellar-deprecated/docs#431 I think the `.setTimeout()` was missed in this example.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem Description
Due to the breaking change in v0.12.0 , Because of the addition of TransactionBuilder.setTimeout method that sets timebounds.max_time on a transaction, None of the examples is working in the docs for Javascript
Example Problem
Executing one of the following examples throws the error
error
Solution
Updating the code with setTimeout solves the problem
Update the whole document by adding setTimeout where StellarSdk.TransactionBuilder() is used
The text was updated successfully, but these errors were encountered: