mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Refactor: Removed begin/end_ptr functions.
This commit is contained in:
parent
86017842d6
commit
8c1dbc5e9d
11 changed files with 32 additions and 61 deletions
|
|
@ -91,7 +91,7 @@ static void VerifyScriptBench(benchmark::State& state)
|
|||
CDataStream stream(SER_NETWORK, PROTOCOL_VERSION);
|
||||
stream << txSpend;
|
||||
int csuccess = bitcoinconsensus_verify_script_with_amount(
|
||||
begin_ptr(txCredit.vout[0].scriptPubKey),
|
||||
txCredit.vout[0].scriptPubKey.data(),
|
||||
txCredit.vout[0].scriptPubKey.size(),
|
||||
txCredit.vout[0].nValue,
|
||||
(const unsigned char*)&stream[0], stream.size(), 0, flags, nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue