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

Sub 1.0 exchange rate failing #59

Open
danbradster opened this issue Mar 13, 2022 · 0 comments
Open

Sub 1.0 exchange rate failing #59

danbradster opened this issue Mar 13, 2022 · 0 comments

Comments

@danbradster
Copy link

Works -
->addOperation(new ManageOfferOp($asset1, $asset2, 0.0000001, new Price(10100000,10000000)))
Fails -
->addOperation(new ManageOfferOp($asset1, $asset2, 0.0000001, new Price(9900000,10000000)))

Difference being, 1.01 exchange rate vs 0.99. 0.99 fails with no error message.

I'm confused how to sell asset1 for 0.99 then.

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