mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Use DataStream where possible
This commit is contained in:
@@ -139,7 +139,7 @@ static int Grind(const std::vector<std::string>& args, std::string& strPrint)
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
|
||||
DataStream ss{};
|
||||
ss << header;
|
||||
strPrint = HexStr(ss);
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user