Explorar o código

Update UBlockChain.pas

PascalCoin %!s(int64=4) %!d(string=hai) anos
pai
achega
48cd59697a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/core/UBlockChain.pas

+ 2 - 0
src/core/UBlockChain.pas

@@ -3010,7 +3010,9 @@ begin
   if (Not forceSave) AND (Not TPCSafeBox.MustSafeBoxBeSaved(Bank.BlocksCount)) then exit; // No save
   Try
     Result := DoSaveBank;
+    {$IFnDEF USE_ABSTRACTMEM}
     FBank.SafeBox.CheckMemory;
+    {$ENDIF}
   Except
     On E:Exception do begin
       TLog.NewLog(lterror,Classname,'Error saving Bank: '+E.Message);