Apply suggestions from code review
Co-Authored-By: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
2cb14d79b1
commit
31e1ea63e1
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* 1. scriptSigs with extra data stuffed into them,
|
||||
* not consumed by scriptPubKey (or P2SH script)
|
||||
* 2. P2SH scripts with a crazy number of expensive
|
||||
* 2. P2SH scripts with very many expensive
|
||||
* CHECKSIG/CHECKMULTISIG operations
|
||||
*
|
||||
* Check transaction inputs, and make sure any
|
||||
|
|
|
@ -111,8 +111,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.
|
||||
*/
|
||||
bool ExtractDestinations(const CScript& scriptPubKey, txnouttype& typeRet, std::vector<CTxDestination>& addressRet, int& nRequiredRet);
|
||||
|
||||
|
|
Loading…
Reference in New Issue