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

HandleRequest handles promise incorrectly on web3-provider #96

pedrouid opened this Issue Apr 5, 2019 · 0 comments


None yet
1 participant
Copy link

pedrouid commented Apr 5, 2019

Change this

const walletConnector = await engine.getWalletConnector()
const { error, result } = await walletConnector.sendCustomRequest(payload)
end(error, result)

To this

const walletConnector = await engine.getWalletConnector()
try {
  const result = await walletConnector.sendCustomRequest(payload)
  end(null, result)
} catch (error) {

Check L159

pedrouid added a commit that referenced this issue Apr 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.