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

(payer).equals(owner) doesn't seem to make sense? #24

Open
adam1231231 opened this issue Jun 19, 2023 · 1 comment
Open

(payer).equals(owner) doesn't seem to make sense? #24

adam1231231 opened this issue Jun 19, 2023 · 1 comment

Comments

@adam1231231
Copy link

when trying to make a new v3 order, the payer and owner account as far as i understand are
owner : the user's wallet
payer : token account to pay for the trade (usdc account in case of a buy order in SOL/USDC)

if (payer.equals(ownerAddress)) {

but here, there's an if statement putting a constraint on both of these to be equal which as far as i understand they shouldn't be equal? or am i missing something?

@mehranml
Copy link

mehranml commented Mar 2, 2024

i have same issue

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

2 participants