Blog

How To: Edit a ‘Verified’ Address and Retain Its Status

When editing an address marked as Verified, it’s important to understand how the system handles verification status. By default, any modification to a Verified address will cause its status to revert to Not Checked. This behavior is intentional and helps maintain data integrity during address verification. 

How Address Verification Works 

The address verification tool sets an address status to: 

Verified + a Zero-Width Space (ZWSP) character (U+200B) 

This invisible character allows the system to distinguish between: 

  • An address that was already verified before the current transaction. 
  • An address that was verified as part of the current transaction. 

Trigger Behavior 

When the trigger runs: 

  • It checks for the ZWSP character. 
  • If present, it knows the address has already been verified in the current context. 
  • It removes the ZWSP and does not revert the status to Not Checked. 

How to Preserve ‘Verified’ Status After Editing 

To retain the Verified status after editing an address: 

  1. Check if the status is Verified. 
  2. Append a Zero-Width Space (U+200B) character to the end of the status. 
  3. Save the updated record. 

This ensures the verification system recognizes the address as already verified and prevents the status from resetting. 

Example 

Before saving an updated verified address: 

Status: “Verified​” ← Includes ZWSP (U+200B) at the end
 

Without the ZWSP, the trigger assumes it’s an outdated verification and will reset the status. 

 

Leave a Reply

 

Discover more from ProvenWorks

Subscribe now to keep reading and get access to the full archive.

Continue reading