Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 3fa416a7ef173d56e969b8acbe94cc13f18a26b5
https://github.com/btcsuite/btcd/commit/3fa416a7ef173d56e969b8acbe94cc13f18a26b5
Author: David Hill <[email protected]>
Date: 2015-10-22 (Thu, 22 Oct 2015)
Changed paths:
M txscript/standard.go
M txscript/standard_test.go
Log Message:
-----------
txscript: fix isMultiSig bug.
isMultiSig was not verifying the number of pubkeys specified matched
the number of pubkeys provided. This caused certain non-standard
scripts to be considered multisig scripts.
However, the script still would have failed during execution.
NOTE: This only affects whether or not the script is considered
standard and does NOT affect consensus.
Also, add a test for this check.