mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Remove standardness checks for PAK
This commit is contained in:
parent
804cd9f75f
commit
edb865cc2f
1 changed files with 0 additions and 7 deletions
|
|
@ -139,13 +139,6 @@ bool IsStandardTx(const CTransaction& tx, std::string& reason)
|
|||
|
||||
if (whichType == TX_NULL_DATA) {
|
||||
nDataOut++;
|
||||
if (params.GetEnforcePak() &&
|
||||
txout.scriptPubKey.IsPegoutScript(params.ParentGenesisBlockHash()) &&
|
||||
txout.nAsset.IsExplicit() && txout.nAsset.GetAsset() == Params().GetConsensus().pegged_asset &&
|
||||
(!ScriptHasValidPAKProof(txout.scriptPubKey, params.ParentGenesisBlockHash()))) {
|
||||
reason = "invalid-pegout-proof";
|
||||
return false;
|
||||
}
|
||||
} else if ((whichType == TX_MULTISIG) && (!fIsBareMultisigStd)) {
|
||||
reason = "bare-multisig";
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue