mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	C++ style cast
This commit is contained in:
		
							parent
							
								
									b3092d4e00
								
							
						
					
					
						commit
						b1413fd045
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -595,7 +595,7 @@ namespace cryptonote
 | 
			
		|||
  {
 | 
			
		||||
    blobdata blob = t_serializable_object_to_blob(static_cast<block_header>(b));
 | 
			
		||||
    crypto::hash tree_root_hash = get_tx_tree_hash(b);
 | 
			
		||||
    blob.append((const char*)&tree_root_hash, sizeof(tree_root_hash ));
 | 
			
		||||
    blob.append(reinterpret_cast<const char*>(&tree_root_hash), sizeof(tree_root_hash));
 | 
			
		||||
    blob.append(tools::get_varint_data(b.tx_hashes.size()+1));
 | 
			
		||||
    return blob;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue