mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Fix 256+ depth pruned cell deserialization
This commit is contained in:
		
							parent
							
								
									cc86a0724a
								
							
						
					
					
						commit
						64e68a47ec
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -34,7 +34,7 @@ class DataCell : public Cell {
 | 
				
			||||||
    td::bitstring::bits_store_long(dest, depth, depth_bits);
 | 
					    td::bitstring::bits_store_long(dest, depth, depth_bits);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  static td::uint16 load_depth(const td::uint8* src) {
 | 
					  static td::uint16 load_depth(const td::uint8* src) {
 | 
				
			||||||
    return td::bitstring::bits_load_ulong(src, depth_bits) & 0xff;
 | 
					    return td::bitstring::bits_load_ulong(src, depth_bits) & 0xffff;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 protected:
 | 
					 protected:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue