mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Merge pull request #1516 from ton-blockchain/fix-ls-capabilities
Fix get_prev_blocks_info() at LS getConfigParams [does not affect validators]
This commit is contained in:
		
						commit
						2a68c8610b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1905,6 +1905,9 @@ void LiteQuery::continue_getConfigParams(int mode, std::vector<int> param_list)
 | 
			
		|||
    }
 | 
			
		||||
    cfg = res.move_as_ok();
 | 
			
		||||
  } else {
 | 
			
		||||
    if (mode & block::ConfigInfo::needPrevBlocks) {
 | 
			
		||||
      mode |= block::ConfigInfo::needCapabilities;
 | 
			
		||||
    }
 | 
			
		||||
    auto res = block::ConfigInfo::extract_config(mpb.root(), mode);
 | 
			
		||||
    if (res.is_error()) {
 | 
			
		||||
      fatal_error(res.move_as_error());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue