diff options
| author | Ben Woosley <[email protected]> | 2018-06-14 19:48:30 -0500 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-09-11 00:58:13 -0400 |
| commit | 893628be0166b4096b6e52f516e0f65bb63a75a2 (patch) | |
| tree | 59b7512c8f429312dd137429251c0df9f89942a4 /src/script/sign.h | |
| parent | Drop unused GetType() from CSizeComputer (diff) | |
| download | discoin-893628be0166b4096b6e52f516e0f65bb63a75a2.tar.xz discoin-893628be0166b4096b6e52f516e0f65bb63a75a2.zip | |
Drop minor GetSerializeSize template
Now that `GetType()` is not propagated, the benefits are not worth the code.
Diffstat (limited to 'src/script/sign.h')
| -rw-r--r-- | src/script/sign.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.h b/src/script/sign.h index 18b732099..2fc4575e5 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -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...); } |