use equals to compare.
This commit is contained in:
parent
faf0028c69
commit
58d078d3d3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue