public override void Run(RuleContext context) { if (!PosBlockValidator.IsCanonicalBlockSignature((PosBlock)context.ValidationContext.BlockToValidate, true)) { ConsensusErrors.BadBlockSignature.Throw(); } } }