mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Convert some CDataStream to DataStream
This commit is contained in:
parent
1410d300df
commit
c7b61fd61b
2 changed files with 3 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ 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);
|
||||
int csuccess = bitcoinconsensus_verify_script_with_amount(
|
||||
txCredit.vout[0].scriptPubKey.data(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue