Browse Source

limit 0-fee bug

PascalCoin 6 years ago
parent
commit
9146d17bba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/UBlockChain.pas

+ 1 - 1
src/core/UBlockChain.pas

@@ -1313,7 +1313,7 @@ begin
     FOperationBlock.fee := 0;
     if FOperationBlock.protocol_version>=CT_PROTOCOL_4 then begin
       FOperationsHashTree.Max0feeOperationsBySigner := 1;
-    end;
+    end else FOperationsHashTree.Max0feeOperationsBySigner := -1;
     Result := FOperationsHashTree.LoadOperationsHashTreeFromStream(Stream,LoadingFromStorage,load_protocol_version,FPreviousUpdatedBlocks,errors);
     if not Result then begin
       exit;