Branch: refs/heads/master
Home: https://github.com/conformal/btcscript
Commit: c8332cc9a7ecb05812e25a9b3bac565c9656f701
https://github.com/conformal/btcscript/commit/c8332cc9a7ecb05812e25a9b3bac565c9656f701
Author: Dave Collins <[email protected]>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M script.go
M script_test.go
Log Message:
-----------
Correct num expected inputs calc for multisig.
This commit corrects the number of expected inputs for a multi-sig script
to include the additional item that is popped from the stack due to the
OP_CHECKMULTISIG consensus bug (which is required and properly performed).
Note this issue did NOT affect the consensus critical code and hence would
not cause a chain fork. It did however, cause standard p2sh multisig txns
to be rejected from the mempool as nonstandard.
The tx rejected as non-standard which prompted this was spotted by
@mbelshe on IRC.
ok @owainga