diff --git a/src/masternodes/mn_checks.cpp b/src/masternodes/mn_checks.cpp index 6a21b5812e..ed5222fca1 100644 --- a/src/masternodes/mn_checks.cpp +++ b/src/masternodes/mn_checks.cpp @@ -255,7 +255,8 @@ class CCustomMetadataParseVisitor : public boost::static_visitor } CDataStream ss(metadata, SER_NETWORK, PROTOCOL_VERSION); - ss >> obj.poolId; + // serialize poolId as raw integer + ss >> obj.poolId.v; ss >> obj.status; ss >> obj.commission; ss >> obj.ownerAddress;