@@ -2147,6 +2147,7 @@ begin
)
) then begin
// if it fails then it number of operations could be maxed out, not a problem
+ TLog.NewLog(lterror,ClassName,Format('Cannot add OpRecover %d/%d %s error %s',[i+1,LRecoverAccounts.Count,LOpRecoverFounds.ToString,errors]));
Break;
end;
finally
@@ -790,6 +790,11 @@ var tree : TOperationsHashTree;
if checkDuplicate then begin
if tree.IndexOfOperation(Op)>=0 then exit;
+ if (Op is TOpRecoverFounds) then begin
+ if Not TAccountComp.EqualAccountKeys( TOpRecoverFounds(Op).Data.new_accountkey , FMinerOperations.OperationBlock.account_key ) then begin
+ TLog.NewLog(lterror,ClassName,'Adding a OpRecoverFounds operation from another public key: '+Op.ToString);
+ end;
tree.AddOperationToHashTree(Op);
End;
Var i,j : Integer;