mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge 950af7c876 into merged_master (Bitcoin PR bitcoin/bitcoin#28878)
This commit is contained in:
commit
d46449ab86
36 changed files with 74 additions and 86 deletions
|
|
@ -62,9 +62,9 @@ static void VerifyScriptBench(benchmark::Bench& bench)
|
|||
assert(success);
|
||||
|
||||
#if defined(HAVE_CONSENSUS_LIB)
|
||||
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
|
||||
DataStream stream;
|
||||
stream << TX_WITH_WITNESS(txSpend);
|
||||
CDataStream streamVal(SER_NETWORK, PROTOCOL_VERSION);
|
||||
DataStream streamVal;
|
||||
streamVal << txCredit.vout[0].nValue;
|
||||
int csuccess = bitcoinconsensus_verify_script_with_amount(
|
||||
nullptr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue