0

I am receiving the error: "Unhandled Rejection (TypeError): this.provider[(intermediate value)(intermediate value)(intermediate value)] is not a function".

However, I have not used "this.provider" in my code. My code is provided below. Does anyone know how I could resolve this?

Help would be insanely appreciated!

1 Answer 1

2

Change this:

this.gamechanger.setProvider(this.web3);

To this:

this.gamechanger.setProvider(this.web3.currentProvider);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.