FIX: user invoice
This commit is contained in:
		
							parent
							
								
									a7294cbbbd
								
							
						
					
					
						commit
						b8bc4dd0cd
					
				@ -194,6 +194,8 @@ export class User {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      invoice.amt = decoded.satoshis;
 | 
					      invoice.amt = decoded.satoshis;
 | 
				
			||||||
 | 
					      invoice.expire_time = 3600;
 | 
				
			||||||
 | 
					      // ^^^default; will keep for now. if we want to un-hardcode it - it should be among tags (`expire_time`)
 | 
				
			||||||
      invoice.timestamp = decoded.timestamp;
 | 
					      invoice.timestamp = decoded.timestamp;
 | 
				
			||||||
      invoice.type = 'user_invoice';
 | 
					      invoice.type = 'user_invoice';
 | 
				
			||||||
      result.push(invoice);
 | 
					      result.push(invoice);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user