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

TypeError: "ethSwap.buyTokens" is not a function #6

Open
revinco opened this issue May 9, 2020 · 2 comments
Open

TypeError: "ethSwap.buyTokens" is not a function #6

revinco opened this issue May 9, 2020 · 2 comments

Comments

@revinco
Copy link

revinco commented May 9, 2020

TypeError?

    it('Allows user to instantly purchase tokens from ethSwap for a fixed price', async () => {
      await ethSwap.buyTokens({ from: accounts[1], value: '1000000000000000000'})
    })
  })
})```
@revinco
Copy link
Author

revinco commented May 10, 2020

@revinco
Copy link
Author

revinco commented May 23, 2020

EthSwap.sol had a typo, it was corrected later on in the tutorial (see screenshot)

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