diff --git a/src/evo/simplifiedmns.h b/src/evo/simplifiedmns.h index dd3882ca41..77165c56b6 100644 --- a/src/evo/simplifiedmns.h +++ b/src/evo/simplifiedmns.h @@ -73,6 +73,9 @@ public: obj.keyIDVoting, obj.isValid ); + if ((s.GetType() & SER_NETWORK) && s.GetVersion() < DMN_TYPE_PROTO_VERSION) { + return; + } if (obj.nVersion == BASIC_BLS_VERSION) { READWRITE(obj.nType); if (obj.nType == MnType::HighPerformance) { diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 970221f6d2..055b9c44e1 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -32,7 +32,7 @@ from test_framework.util import hex_str_to_bytes, assert_equal import dash_hash MIN_VERSION_SUPPORTED = 60001 -MY_VERSION = 70225 # BLS_SCHEME_PROTO_VERSION +MY_VERSION = 70227 # DMN_TYPE_PROTO_VERSION MY_SUBVERSION = b"/python-mininode-tester:0.0.3%s/" MY_RELAY = 1 # from version 70001 onwards, fRelay should be appended to version messages (BIP37)