Skip to content

Commit

Permalink
Show correct message
Browse files Browse the repository at this point in the history
  • Loading branch information
garyghayrat committed Jul 10, 2024
1 parent 93c8b8d commit cf79534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umbra-js/src/classes/Umbra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ export class Umbra {

// Append chain ID if not mainnet to mitigate replay attacks
const chainId = 8453; // Base chainId;
const message = chainId === 1 ? baseMessage : `${baseMessage}\n\nChain ID: ${chainId}`;
const message = `${baseMessage}\n\nChain ID: ${chainId}`;

// Get 65 byte signature from user using personal_sign
const userAddress = await signer.getAddress();
Expand Down

0 comments on commit cf79534

Please sign in to comment.