Branch: refs/heads/master
  Home:   https://github.com/conformal/btcscript
  Commit: 1d360509f45df050a4acec531a4b2dfe2158fb2d
      
https://github.com/conformal/btcscript/commit/1d360509f45df050a4acec531a4b2dfe2158fb2d
  Author: Dave Collins <[email protected]>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M opcode.go

  Log Message:
  -----------
  Correct handling for multi-sig zero signatures.

It is possible for a multisignature transaction to require zero
signatures.  For example, input 2 of testnet transaction
b2d93dfd0b2c1a380e55e76a8d9cb3075dec9f4474e9485be008c337fd62c1f7
in block number 185117.

Previously the code was pushing a false to the stack when no
valid signatures were found.  This commit remedies that by pushing true
when no valid signatures were found, but none are required.  Otherwise it
still pushes false when no valid signatures were found, but some are
required.

Fixes #7.

ok @owainga


Reply via email to