mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Add withdraw lock to script/standard.h (and, thus, RPC raw txn)
This commit is contained in:
parent
c51a6f32d0
commit
cca18eee8d
4 changed files with 12 additions and 1 deletions
|
|
@ -82,6 +82,7 @@ static bool SignStep(const BaseSignatureCreator& creator, const CScript& scriptP
|
|||
{
|
||||
case TX_NONSTANDARD:
|
||||
case TX_NULL_DATA:
|
||||
case TX_WITHDRAW_LOCK:
|
||||
return false;
|
||||
case TX_PUBKEY:
|
||||
keyID = CPubKey(vSolutions[0]).GetID();
|
||||
|
|
@ -318,6 +319,7 @@ static Stacks CombineSignatures(const CScript& scriptPubKey, const BaseSignature
|
|||
{
|
||||
case TX_NONSTANDARD:
|
||||
case TX_NULL_DATA:
|
||||
case TX_WITHDRAW_LOCK:
|
||||
// Don't know anything about this, assume bigger one is correct:
|
||||
if (sigs1.script.size() >= sigs2.script.size())
|
||||
return sigs1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue