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

About challenge #1 explotation #8

Open
AnaRhisT94 opened this issue Jan 21, 2022 · 1 comment
Open

About challenge #1 explotation #8

AnaRhisT94 opened this issue Jan 21, 2022 · 1 comment

Comments

@AnaRhisT94
Copy link

I'm trying to exploit it with:
await this.token.transfer(this.pool.address, INITIAL_ATTACKER_BALANCE, {from: attacker});

Which doesn't work.

But if I use it w/o from:attacker it works:

    `await this.token.transfer(this.pool.address, INITIAL_ATTACKER_TOKEN_BALANCE);`

Why is that?

jonatascm referenced this issue in jonatascm/damn-vulnerable-defi Feb 23, 2022
@tinchoabbate
Copy link
Contributor

Hey @AnaRhisT94 , please refer to the most up-to-date version of Damn Vulnerable DeFi at https://github.com/tinchoabbate/damn-vulnerable-defi. Thanks!

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