Skip to content

Commit

Permalink
add type number
Browse files Browse the repository at this point in the history
  • Loading branch information
garyghayrat committed Jul 10, 2024
1 parent 4c8249d commit 93c8b8d
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 @@ -598,7 +598,7 @@ export class Umbra {
const baseMessage = 'Sign this message to access your Umbra account.\n\nOnly sign this message for a trusted client!'; // prettier-ignore

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

// Get 65 byte signature from user using personal_sign
Expand Down

0 comments on commit 93c8b8d

Please sign in to comment.