This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
forked from bitpay/bitcore-lib
-
Notifications
You must be signed in to change notification settings - Fork 83
HDPrivateKey derivation: version argument is not a buffer #5
Comments
Did you solve this issue? |
The master and segwit branch are using old base58 prefixes, you can use branch v5.0 https://github.com/litecoin-project/litecore-lib/tree/v5.0 (not published to npm yet) Or modify |
i published the branch to npm as 'litecore-lib-v5' since this repo seems dead |
Yo you are a life save literally! |
You saved me! xpub and xprv works great! |
Please do not use this in production. BitPay is soon releasing a
significantly updated version of this repo as part of the Bitcore stack
with LTC support. This repo will be archived very soon.
…On Thu, 20 May 2021 at 01:26, red-name ***@***.***> wrote:
litecore-lib-v5
You saved me! xpub and xprv works great!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAT43OTCGQS6QESKBCQRIRLTORJMXANCNFSM4DSAHRHQ>
.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following code fails:
Giving me this error:
AssertionError: version argument is not a buffer at checkBuffer (/home/burton/depositor/node_modules/litecore-lib/lib/hdprivatekey.js:523:5) at Function.HDPrivateKey._validateBufferArguments (/home/burton/depositor/node_modules/litecore-lib/lib/hdprivatekey.js:529:3) at HDPrivateKey._buildFromBuffers (/home/burton/depositor/node_modules/litecore-lib/lib/hdprivatekey.js:461:16) at HDPrivateKey._buildFromObject (/home/burton/depositor/node_modules/litecore-lib/lib/hdprivatekey.js:376:15) at new HDPrivateKey (/home/burton/depositor/node_modules/litecore-lib/lib/hdprivatekey.js:61:10) at Object.<anonymous> (/home/burton/depositor/index.js:5:14) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12)
Any work arounds for this?
The text was updated successfully, but these errors were encountered: