mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Also remove pay-2-pubkey from watch when adding a priv key
This commit is contained in:
parent
6d6b11e793
commit
cfc3dd3428
3 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue