mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	Zero initialize rctSigBase elements
This commit is contained in:
		
							parent
							
								
									8eab181fe1
								
							
						
					
					
						commit
						052df1b28c
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -325,6 +325,10 @@ namespace rct {
 | 
			
		|||
        ctkeyV outPk;
 | 
			
		||||
        xmr_amount txnFee; // contains b
 | 
			
		||||
 | 
			
		||||
        rctSigBase() :
 | 
			
		||||
          type(RCTTypeNull), message{}, mixRing{}, pseudoOuts{}, ecdhInfo{}, outPk{}, txnFee(0)
 | 
			
		||||
        {}
 | 
			
		||||
 | 
			
		||||
        template<bool W, template <bool> class Archive>
 | 
			
		||||
        bool serialize_rctsig_base(Archive<W> &ar, size_t inputs, size_t outputs)
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue