|
@@ -310,13 +310,19 @@ end;
|
|
|
|
|
|
procedure TPCOperationsSignatureValidatorThread.BCExecute;
|
|
procedure TPCOperationsSignatureValidatorThread.BCExecute;
|
|
var LOperation : TPCOperation;
|
|
var LOperation : TPCOperation;
|
|
|
|
+ LIsValid : Boolean;
|
|
begin
|
|
begin
|
|
repeat
|
|
repeat
|
|
LOperation := FValidator.GetNextOperation(Self);
|
|
LOperation := FValidator.GetNextOperation(Self);
|
|
if Assigned(LOperation) then begin
|
|
if Assigned(LOperation) then begin
|
|
if Not LOperation.HasValidSignature then begin
|
|
if Not LOperation.HasValidSignature then begin
|
|
// Only will validate if HasValidSignature is False (Not validated before)
|
|
// Only will validate if HasValidSignature is False (Not validated before)
|
|
- FValidator.SetOperationCheckResult(Self,LOperation, LOperation.IsValidSignatureBasedOnCurrentSafeboxState(FValidator.FSafeBoxTransaction));
|
|
|
|
|
|
+ try
|
|
|
|
+ LIsValid := LOperation.IsValidSignatureBasedOnCurrentSafeboxState(FValidator.FSafeBoxTransaction);
|
|
|
|
+ except
|
|
|
|
+ LIsValid := False;
|
|
|
|
+ end;
|
|
|
|
+ FValidator.SetOperationCheckResult(Self,LOperation, LIsValid);
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
until (Not Assigned(LOperation)) or (Terminated);
|
|
until (Not Assigned(LOperation)) or (Terminated);
|