fix self-assigned nVersion in CAlert serialization

This commit is contained in:
Patrick Lodder 2021-08-29 21:27:17 +02:00
parent 18dbe3291b
commit 03a7605d8a
No known key found for this signature in database
GPG Key ID: 2D3A345B98D0DC1F
1 changed files with 1 additions and 2 deletions

View File

@ -50,8 +50,7 @@ public:
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action) {
READWRITE(this->nVersion);
nVersion = this->nVersion;
READWRITE(nVersion);
READWRITE(nRelayUntil);
READWRITE(nExpiration);
READWRITE(nID);