Use DataStream where possible

This commit is contained in:
MarcoFalke
2023-01-03 13:21:44 +01:00
parent fa9becfe1c
commit fa29e73cda
48 changed files with 144 additions and 151 deletions

View File

@@ -111,7 +111,7 @@ FUZZ_TARGET_INIT(key, initialize_key)
}
{
CDataStream data_stream{SER_NETWORK, INIT_PROTO_VERSION};
DataStream data_stream{};
pubkey.Serialize(data_stream);
CPubKey pubkey_deserialized;