backwards-compatible with stable

This commit is contained in:
Jude Nelson
2016-04-24 22:02:31 -04:00
parent a53e279d69
commit d079279a71

View File

@@ -112,7 +112,7 @@ def check( state_engine ):
return False
# QUIRK: consensus hash not stored
if name_rec['consensus_hash'] is not None:
if name_rec.has_key('consensus_hash') and name_rec['consensus_hash'] is not None:
print "quirk not preserved: consensus hash is '%s'" % name_rec['consensus_hash']
return False