bitcoinjs-lib
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "bitcoinjs-lib", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Client-side Bitcoin JavaScript library", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -134,2 +134,3 @@ # BitcoinJS (bitcoinjs-lib) | ||
- [GreenAddress](https://greenaddress.it) | ||
- [Melis Wallet](https://melis.io) | ||
- [Robocoin](https://wallet.robocoin.com) | ||
@@ -136,0 +137,0 @@ - [Skyhook ATM](http://projectskyhook.com) |
@@ -50,2 +50,4 @@ var Buffer = require('safe-buffer').Buffer | ||
function expandInput (scriptSig, witnessStack) { | ||
if (scriptSig.length === 0 && witnessStack.length === 0) return {} | ||
var prevOutScript | ||
@@ -401,3 +403,3 @@ var prevOutType | ||
if (SIGNABLE.indexOf(scriptType) !== -1) { | ||
sig = buildStack(scriptType, input.signatures, input.pubKeys, input.script, allowIncomplete) | ||
sig = buildStack(scriptType, input.signatures, input.pubKeys, allowIncomplete) | ||
} | ||
@@ -551,3 +553,3 @@ | ||
if (options.script !== undefined) { | ||
input = expandInput(options.script, options.witness) | ||
input = expandInput(options.script, options.witness || []) | ||
} | ||
@@ -554,0 +556,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109080
2614
191