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!

2

Change this:

this.gamechanger.setProvider(this.web3);

To this:

this.gamechanger.setProvider(this.web3.currentProvider);
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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