Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

JS error when attempting to spend from script explorer #320

Open
1 of 5 tasks
waldenraines opened this issue Jun 29, 2023 · 0 comments
Open
1 of 5 tasks

JS error when attempting to spend from script explorer #320

waldenraines opened this issue Jun 29, 2023 · 0 comments

Comments

@waldenraines
Copy link
Contributor

I'm submitting a…

  • Regression (a behavior that used to work and stopped working in a new release)
  • Bug report
  • Feature request
  • Documentation issue or request
  • Support request

Expected Behavior

Able to spend from script explorer.

Current Behavior

Uncaught Error: Invalid checksum
    at Object.decode (base.js:41:25)
    at Function.fromBase58 (keys.js:285:58)
    at getMaskedDerivation (keys.js:609:33)
    at SignatureImporter.jsx? [sm]:609:18
    at Array.map (<anonymous>)
    at Function.mapStateToProps [as mapToProps] (SignatureImporter.jsx? [sm]:608:7)
    at mapToPropsProxy (wrapMapToProps.js:41:46)
    at Function.detectFactoryAndVerify (wrapMapToProps.js:50:19)
    at mapToPropsProxy (wrapMapToProps.js:41:46)
    at handleFirstCall (selectorFactory.js:23:18)

Possible Solution

Fix bug.

Steps to Reproduce (for bugs)

  1. Obtain wallet
  2. Copy script from an address in the wallet (only tested with P2SH)
  3. Paste into script explorer
  4. Paste in address
  5. Click gather signatures
  6. Note error

Environment

  • Where are you running caravan: localhost
  • Operating system: Linux
  • Browser and version: All
> npm ls caravan unchained-bitcoin unchained-wallets; echo -e npm: `npm -v` \\nnode: `node -v`;  uname -a | xargs echo | cut -d " " -f 1,3-15 || sw_vers
[email protected] /home/walden/code/caravan
├── [email protected]
└─┬ [email protected]
  └── [email protected] deduped

npm: `npm -v`
node: `node -v`
Linux 6.0.6-76060006-generic #202210290932~1667401208~22.04~d2df702 SMP PREEMPT_DYNAMIC Wed N x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant