anchor.diff:        Result := true;
         exit;
       end;
  +    //
  +    if FOperationBlock.protocol_version>=CT_PROTOCOL_5 then begin
  +      load_protocol_version := FOperationBlock.protocol_version;
  +    end;
  +
       // Fee will be calculated for each operation. Set it to 0 and check later for integrity
       lastfee := OperationBlock.fee;
       FOperationBlock.fee := 0;
       if FOperationBlock.protocol_version>=CT_PROTOCOL_4 then begin
         FOperationsHashTree.Max0feeOperationsBySigner := 1;
       end else FOperationsHashTree.Max0feeOperationsBySigner := -1;
  -    Result := FOperationsHashTree.LoadOperationsHashTreeFromStream(Stream,LoadingFromStorage,FOperationBlock.protocol_version,FPreviousUpdatedBlocks,errors);
  +    Result := FOperationsHashTree.LoadOperationsHashTreeFromStream(Stream,LoadingFromStorage,load_protocol_version,FPreviousUpdatedBlocks,errors);
       if not Result then begin
         exit;
       end;
  -    If FOperationBlock.protocol_version>=CT_PROTOCOL_3 then begin
  +    If load_protocol_version>=CT_PROTOCOL_3 then begin
         Result := FPreviousUpdatedBlocks.LoadFromStream(Stream);
         If Not Result then begin
           errors := 'Invalid PreviousUpdatedBlock stream';
  
positive.code:     // - Value 2 and 3 means that contains protocol info prior to block number
      // - Value 4 means that is loading from storage using protocol v2 (so, includes always operations)
      // - Value 5 means that is loading from storage using TAccountPreviousBlockInfo
      if (soob in [0,2]) then FIsOnlyOperationBlock:=false
      else if (soob in [1,3]) then FIsOnlyOperationBlock:=true
      else if (soob in [4]) then begin
        FIsOnlyOperationBlock:=false;
      end else if (soob in [5]) then begin
        FIsOnlyOperationBlock:=False;
      end else begin
        errors := 'Invalid value in protocol header! Found:'+inttostr(soob)+' - Check if your application version is Ok';
        exit;
  
negative.code:   lastfee : UInt64;
    soob : Byte;
    raw: TRawBytes;
    load_protocol_version : Word;
  begin
    Lock;
    Try
  