Merge 6ce77a3668 into merged_master (Bitcoin PR #15833)

This commit is contained in:
Andrew Poelstra 2020-10-28 17:07:34 +00:00
commit e1b0ebf5a2

View file

@ -201,8 +201,7 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet)
* multisig scripts, this populates the addressRet vector with the pubkey IDs
* and nRequiredRet with the n required to spend. For other destinations,
* addressRet is populated with a single value and nRequiredRet is set to 1.
* Returns true if successful. Currently does not extract address from
* pay-to-witness scripts.
* Returns true if successful.
*
* Note: this function confuses destinations (a subset of CScripts that are
* encodable as an address) with key identifiers (of keys involved in a