Skip to content

Instantly share code, notes, and snippets.

View CaseyMcCarthy's full-sized avatar

Casey McCarthy CaseyMcCarthy

View GitHub Profile

Keybase proof

I hereby claim:

  • I am caseymccarthy on github.
  • I am caseymccarthy (https://keybase.io/caseymccarthy) on keybase.
  • I have a public key ASAhHu68CtWFJODpAWhibi1IEvohhm9r_KeKTb63GgEWhgo

To claim this, I am signing this object:

Unhandled rejection TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at Function.Buffer.from (buffer.js:202:9)
at new Buffer (buffer.js:158:17)
at createIdFromPreviousOutputScriptPubKey (/home/ubuntu/vestiapi/node_modules/cc-assetid-encoder/assetIdEncoder.js:37:16)
at module.exports (/home/ubuntu/vestiapi/node_modules/cc-assetid-encoder/assetIdEncoder.js:126:12)
at encodeAssetIdInfo (/home/ubuntu/vestiapi/src/helpers/digibyte/asset.js:537:17)
at /home/ubuntu/vestiapi/src/helpers/digibyte/asset.js:277:25
at Array.some (<anonymous>)
at /home/ubuntu/vestiapi/src/helpers/digibyte/asset.js:270:39
From previous event: