mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
Also remove pay-2-pubkey from watch when adding a priv key
This commit is contained in:
@@ -286,6 +286,11 @@ CScript GetScriptForDestination(const CTxDestination& dest)
|
||||
return script;
|
||||
}
|
||||
|
||||
CScript GetScriptForRawPubKey(const CPubKey& pubKey)
|
||||
{
|
||||
return CScript() << std::vector<unsigned char>(pubKey.begin(), pubKey.end()) << OP_CHECKSIG;
|
||||
}
|
||||
|
||||
CScript GetScriptForMultisig(int nRequired, const std::vector<CPubKey>& keys)
|
||||
{
|
||||
CScript script;
|
||||
|
||||
Reference in New Issue
Block a user