bitpay/copay — pull request #739 by maraoz (2014-06-24 16:34:44+00:00)
Title: optimize redeemscript map generation

This changes the way we're generating the redeemScripts. We used to generate all the possible redeemScripts for the max used indices, which is inefficient. This PR chances that to use a list of paths, derived from the utxos used for the tx.
I've ran the tests and all pass.
fixes https://github.com/bitpay/copay/issues/732