Drop minor GetSerializeSize template

Now that `GetType()` is not propagated, the benefits are not worth the code.
This commit is contained in:
Ben Woosley
2018-06-14 19:48:30 -05:00
parent da74db0940
commit 893628be01
3 changed files with 6 additions and 12 deletions

View File

@@ -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...);
}