Skip to content

Commit e2300ff

Browse files
committed
bench: Use CDataStream.data()
1 parent adff950 commit e2300ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bench/verify_script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static void VerifyScriptBench(benchmark::State& state)
9494
txCredit.vout[0].scriptPubKey.data(),
9595
txCredit.vout[0].scriptPubKey.size(),
9696
txCredit.vout[0].nValue,
97-
(const unsigned char*)&stream[0], stream.size(), 0, flags, nullptr);
97+
(const unsigned char*)stream.data(), stream.size(), 0, flags, nullptr);
9898
assert(csuccess == 1);
9999
#endif
100100
}

0 commit comments

Comments
 (0)