-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unused-var, shadowed variable warnings and integration test timeouts and descendent chains #751
Conversation
src/templates/index.js
Outdated
@@ -53,7 +53,7 @@ function classifyWitness (script, allowIncomplete) { | |||
var chunks = decompile(script) | |||
|
|||
if (pubKeyHash.input.check(chunks)) return types.P2WPKH | |||
if (scriptHash.input.check(chunks)) return types.P2WSH | |||
if (scriptHash.input.check(chunks, allowIncomplete)) return types.P2WSH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This... needs tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rebased - will merge if good (may have integration tests fail until #786) |
Merged the test fixes into this as it was frustrating having fixes in both branches. |
ACK |
Related to standard/standard#636 (comment)