Skip to content

Symbol unvailable: suggest for replacement #8

Description

@hacktar

We are using hooked provider and lightwallet libs for our mobile wallet LETH (https://github.com/inzhoop-co/LETH) and we find some issues using Symbol on android devices.

In hooked-web3-provider.js 
row 49: ... requests[Symbol.iterator]() ...

Symbol is unvailable for more devices so we suggest a fix with a replacement using forEach, like this :

requests.forEach(function(request) {
   if (request.method == "eth_sendTransaction") {
       throw new Error("HookedWeb3Provider does not support synchronous transactions. Please provide a callback.");
}

Look at our version on github for complete file:
https://github.com/inzhoop-co/LETH/blob/master/www/lib/thirdparty/hooked-web3-provider.js

Great work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions