use equals to compare.

This commit is contained in:
hernandp 2024-11-20 15:13:23 -03:00
parent faf0028c69
commit 58d078d3d3
No known key found for this signature in database
GPG Key ID: F9EC0F60C3C126AF
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ const getSigsFromWormscanData = (
const normalizedGuardianFromSet = new UniversalAddress(guardianSet[idx], platformToAddressFormat("Evm"));
const normalizedGuardianAddr = new UniversalAddress(guardianAddr, platformToAddressFormat("Evm"));
if (normalizedGuardianAddr.toString() === normalizedGuardianFromSet.toString()) {
if (normalizedGuardianAddr.equals(normalizedGuardianFromSet)) {
gsi = idx;
break;
}