diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2016-12-09 12:01:37 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2016-12-09 13:15:19 +0900 |
commit | 8c1dbc5e9ddbafb77e60e8c4e6eb275a3a76ac12 (patch) | |
tree | f7f5c60c420a4635e083a6cba153b72aedfb94a2 /src/bench/verify_script.cpp | |
parent | 86017842d6ef6c57f1e06ed395afecf11d71a650 (diff) |
Refactor: Removed begin/end_ptr functions.
Diffstat (limited to 'src/bench/verify_script.cpp')
-rw-r--r-- | src/bench/verify_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/verify_script.cpp b/src/bench/verify_script.cpp index dc3940cdbd..91b8c44472 100644 --- a/src/bench/verify_script.cpp +++ b/src/bench/verify_script.cpp @@ -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); |