Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yieldblox-core.umd.js GetAccrualDataFromTransaction #385

Open
lmorgan824 opened this issue Feb 15, 2022 · 1 comment
Open

yieldblox-core.umd.js GetAccrualDataFromTransaction #385

lmorgan824 opened this issue Feb 15, 2022 · 1 comment

Comments

@lmorgan824
Copy link

In the following code, yieldblox-core.umd.js

function GetAccrualDataFromTransaction

Not sure if this is working correctly on testnet as the passphrase would need to be stellarSdk.Networks.TESTNET, yes?

var tx = new stellarSdk.Transaction(txRecord.envelope_xdr, stellarSdk.Networks.PUBLIC);

@lmorgan824
Copy link
Author

I did test this, it works with both PUBLIC and TESTNET when making the transaction, it just changes the networkPassphrase property. It all depends on the usage of tx when used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant