Add optional consensus hash field

This commit is contained in:
Brad Chase
2017-05-30 13:38:45 -04:00
committed by seelabs
parent 18801b81de
commit e0168b98d7
3 changed files with 4 additions and 1 deletions

View File

@@ -161,10 +161,11 @@ SOTemplate const& STValidation::getFormat ()
format.push_back (SOElement (sfSigningTime, SOE_REQUIRED));
format.push_back (SOElement (sfSigningPubKey, SOE_REQUIRED));
format.push_back (SOElement (sfSignature, SOE_OPTIONAL));
format.push_back (SOElement (sfConsensusHash, SOE_OPTIONAL));
}
};
static FormatHolder holder;
static const FormatHolder holder;
return holder.format;
}