Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Error: Digest method not supported #576

@bingge1

Description

@bingge1

I used "eosjs/dist/eosjs-jssig"
const signatureProvider = new JsSignatureProvider(["xxx"]); // node only; not needed in browsers

but i got

Error: Digest method not supported
at new Hash (internal/crypto/hash.js:33)
at createHash (crypto.js:97)
at Object.ripemd160 (E:\dev\nodejs\sea\node_modules\eosjs-ecc\lib\hash.js:37)
at Object.checkEncode (E:\dev\nodejs\sea\node_modules\eosjs-ecc\lib\key_utils.js:232)
at Object.toString (E:\dev\nodejs\sea\node_modules\eosjs-ecc\lib\key_public.js:66)
at new JsSignatureProvider (E:\dev\nodejs\sea\node_modules\eosjs\dist\eosjs-jssig.js:66)
at new CoinClient (E:\dev\nodejs\sea\static\js\coin\eos.js:6)
at new CoinService (E:\dev\nodejs\sea\static\js\coin.js:48)
at Coin.getService (E:\dev\nodejs\sea\static\js\coin.js:32)
at window.refreshWallet (index.js:43)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions