mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 08:08:25 +00:00
bench: Use CDataStream.data()
This commit is contained in:
parent
adff950fae
commit
e2300ff65e
@ -94,7 +94,7 @@ static void VerifyScriptBench(benchmark::State& state)
|
|||||||
txCredit.vout[0].scriptPubKey.data(),
|
txCredit.vout[0].scriptPubKey.data(),
|
||||||
txCredit.vout[0].scriptPubKey.size(),
|
txCredit.vout[0].scriptPubKey.size(),
|
||||||
txCredit.vout[0].nValue,
|
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);
|
assert(csuccess == 1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user