bitcoin/bitcoin — pull request #778 by gavinandresen (2012-01-23 17:06:09+00:00)
Title: Fixed addmultisigaddress if looking up public keys from locked wallets.

Use GetPubKey() instead of GetKey() when looking up public keys by in-the-wallet-bitcoin-address, so addmultisigaddress works correctly with encrypted, locked wallets.