diff --git a/packages/common-scripts/src/omnilock-ethereum-displaying.ts b/packages/common-scripts/src/omnilock-ethereum-displaying.ts index 3b3c04852..3cce8e2da 100644 --- a/packages/common-scripts/src/omnilock-ethereum-displaying.ts +++ b/packages/common-scripts/src/omnilock-ethereum-displaying.ts @@ -38,7 +38,7 @@ export async function signMessage( const [tweakedV] = signature.slice(-1); // https://eips.ethereum.org/EIPS/eip-155 const PARITY_FLAG = 27; - const v = tweakedV > PARITY_FLAG ? tweakedV - PARITY_FLAG : tweakedV; + const v = tweakedV >= PARITY_FLAG ? tweakedV - PARITY_FLAG : tweakedV; signature.set([v], signature.length - 1); return bytes.hexify(signature); }