From fccb6ab6a8be8fb4cc22f09f22ac88af2ceaca52 Mon Sep 17 00:00:00 2001 From: Chase Fleming <1666730+chasefleming@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:32:05 -0800 Subject: [PATCH] Change network codeword and address error --- lib/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/constants.ts b/lib/constants.ts index 1ddf2e0..f6a425b 100644 --- a/lib/constants.ts +++ b/lib/constants.ts @@ -19,7 +19,7 @@ export const PUBLIC_KEY_FORMAT_ERROR = "Public key must be a hexadecimal string with no spaces." export const PUBLIC_KEY_MISSING_ERROR = "Public key is required." export const ADDRESS_FORMAT_ERROR = - "Address must be a 16-character or 42-character hexadecimal string." + "Address must be a 16-character Cadence address or 42-character Ethereum address." export const ADDRESS_MISSING_ERROR = "Address is required." export const CREATE_ACCOUNT_ERROR = "Account creation has failed" export const FUND_ACCOUNT_ERROR = "Account funding has failed" @@ -37,5 +37,5 @@ export const ADDRESS_REGEXP = /^(0x)?([0-9a-fA-F]{16}|[0-9a-fA-F]{40})$/ export const NETWORK_CODEWORDS = { testnet: "0x6834ba37b3980209", - crescendo: "0x6834ba37b3980209", + crescendo: "0x5211829E88528817", }