diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-15 17:30:17 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-12-15 17:30:17 +0100 |
commit | e2300ff65e380bfe1454d0ea42a88abeeb6b8911 (patch) | |
tree | b2bd451d7043ca5d67fb68adb2ba86dfdb55117d /src | |
parent | adff950faeea95249df5f7536159701ea2202255 (diff) |
bench: Use CDataStream.data()
Diffstat (limited to 'src')
-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 91b8c44472..d5fdeb7319 100644 --- a/src/bench/verify_script.cpp +++ b/src/bench/verify_script.cpp @@ -94,7 +94,7 @@ static void VerifyScriptBench(benchmark::State& state) txCredit.vout[0].scriptPubKey.data(), txCredit.vout[0].scriptPubKey.size(), txCredit.vout[0].nValue, - (const unsigned char*)&stream[0], stream.size(), 0, flags, nullptr); + (const unsigned char*)stream.data(), stream.size(), 0, flags, nullptr); assert(csuccess == 1); #endif } |