浏览代码

limit 0-fee bug

PascalCoin 6 年之前
父节点
当前提交
9146d17bba
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;