Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Error: HDPrivateKey #10

Description

@elvis-hp
const bitcoreCash = require('bitcore-lib-cash');
...
const xpriv = code.toHDPrivateKey();
const hdPrivateKey = new bitcoreCash.HDPrivateKey(xpriv); //-> error here ...

I have an error when I call the HDPrivateKey function, can you help me fix it?
Uncaught AssertionError {name: "AssertionError", actual: false, expected: true, operator: "==", message: "parentFingerPrint argument is not a buffer", …}

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