Add note
This commit is contained in:
		
							parent
							
								
									620167eedf
								
							
						
					
					
						commit
						7943da0f17
					
				@ -36,6 +36,10 @@ const ldapPolicy: Policy<LdapConfig> = async (msg, opts) => {
 | 
				
			|||||||
    const zapRequestJSON = descriptionTag[1];
 | 
					    const zapRequestJSON = descriptionTag[1];
 | 
				
			||||||
    const validationResult = nip57.validateZapRequest(zapRequestJSON);
 | 
					    const validationResult = nip57.validateZapRequest(zapRequestJSON);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // TODO
 | 
				
			||||||
 | 
					    // The zap receipt event's pubkey MUST be the same as the recipient's lnurl provider's nostrPubkey (retrieved in step 1 of the protocol flow).
 | 
				
			||||||
 | 
					    // The invoiceAmount contained in the bolt11 tag of the zap receipt MUST equal the amount tag of the zap request (if present).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (validationResult === null) {
 | 
					    if (validationResult === null) {
 | 
				
			||||||
      pubkey = JSON.parse(zapRequestJSON).pubkey;
 | 
					      pubkey = JSON.parse(zapRequestJSON).pubkey;
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user