mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Drop minor GetSerializeSize template
Now that `GetType()` is not propagated, the benefits are not worth the code.
This commit is contained in:
@@ -147,7 +147,7 @@ static constexpr uint8_t PSBT_SEPARATOR = 0x00;
|
||||
template<typename Stream, typename... X>
|
||||
void SerializeToVector(Stream& s, const X&... args)
|
||||
{
|
||||
WriteCompactSize(s, GetSerializeSizeMany(s, args...));
|
||||
WriteCompactSize(s, GetSerializeSizeMany(s.GetVersion(), args...));
|
||||
SerializeMany(s, args...);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user