diff --git a/js/src/delegation.ts b/js/src/delegation.ts index a3656ce..7742fc5 100644 --- a/js/src/delegation.ts +++ b/js/src/delegation.ts @@ -113,7 +113,7 @@ export function getStakeActivatingAndDeactivating( activating, deactivating: BigInt(0), }; - } else if (targetEpoch == delegation.deactivationEpoch) { + } else if (targetEpoch === delegation.deactivationEpoch) { // can only deactivate what's activated return { effective,