mhanne/bitcoin-ruby — pull request #10 by rarefied (2014-05-08 03:17:58+00:00)
Title: always pop extra item from stack to fix OP_CHECKMULTISIG handling

The description of OP_CHECKMULTISIG at https://en.bitcoin.it/wiki/Script#Crypto is the best I could find but seems to indicate that an extra item should always be removed from the stack, not just an OP_0. This change allows the new tests added by the previous commit to pass and my testnet node to get past the block containing b5cd9e999fb51e29ab741b1e1732f1d4d038bc493ffbced85a252533a2c2ab0c