mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
ci: various linter / CI compiler error fixes
Includes changing TRUE to OP_TRUE for anyone-can-spend output name, to avoid symbol conflict on win64 builds, which is really obnoxious.
This commit is contained in:
parent
1e98c9fa9e
commit
68bfd70b43
41 changed files with 132 additions and 116 deletions
|
|
@ -69,7 +69,7 @@ std::string GetTxnOutputType(TxoutType t)
|
|||
case TxoutType::WITNESS_V0_SCRIPTHASH: return "witness_v0_scripthash";
|
||||
case TxoutType::WITNESS_V1_TAPROOT: return "witness_v1_taproot";
|
||||
case TxoutType::WITNESS_UNKNOWN: return "witness_unknown";
|
||||
case TxoutType::TRUE: return "true";
|
||||
case TxoutType::OP_TRUE: return "true";
|
||||
case TxoutType::FEE: return "fee";
|
||||
}
|
||||
assert(false);
|
||||
|
|
@ -126,7 +126,7 @@ TxoutType Solver(const CScript& scriptPubKey, std::vector<std::vector<unsigned c
|
|||
vSolutionsRet.clear();
|
||||
|
||||
if (Params().anyonecanspend_aremine && scriptPubKey == CScript() << OP_TRUE) {
|
||||
return TxoutType::TRUE;
|
||||
return TxoutType::OP_TRUE;
|
||||
}
|
||||
|
||||
// Fee outputs are for elements-style transactions only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue