mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Use DataStream where possible
This commit is contained in:
@@ -111,7 +111,7 @@ Python code to generate the below hashes:
|
||||
*/
|
||||
BOOST_AUTO_TEST_CASE(doubles)
|
||||
{
|
||||
CDataStream ss(SER_DISK, 0);
|
||||
DataStream ss{};
|
||||
// encode
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
ss << EncodeDouble(i);
|
||||
|
||||
Reference in New Issue
Block a user