diff --git a/contracts/ccc-eth-lock/src/entry.rs b/contracts/ccc-eth-lock/src/entry.rs index 9ace856..416ae3d 100644 --- a/contracts/ccc-eth-lock/src/entry.rs +++ b/contracts/ccc-eth-lock/src/entry.rs @@ -28,7 +28,7 @@ fn message_hash(msg: &str) -> [u8; 32] { assert_eq!(msg.len(), 64); // Text used to signify that a signed message follows and to prevent inadvertently signing a transaction. const CKB_PREFIX: &str = "Signing a CKB transaction: 0x"; - const CKB_SUFFIX: &str = "\n\nIMPORTANT: Please verify the integrity and authenticity of connected BTC wallet before signing this message\n"; + const CKB_SUFFIX: &str = "\n\nIMPORTANT: Please verify the integrity and authenticity of connected Ethereum wallet before signing this message\n"; const ETH_PREFIX: &str = "Ethereum Signed Message:\n"; let mut data: Vec = Vec::new(); assert_eq!(ETH_PREFIX.len(), 25); diff --git a/tests/src/test_eth.rs b/tests/src/test_eth.rs index 8938055..b944687 100644 --- a/tests/src/test_eth.rs +++ b/tests/src/test_eth.rs @@ -24,7 +24,7 @@ fn message_hash(msg: &str) -> [u8; 32] { assert_eq!(msg.len(), 64); // Text used to signify that a signed message follows and to prevent inadvertently signing a transaction. const CKB_PREFIX: &str = "Signing a CKB transaction: 0x"; - const CKB_SUFFIX: &str = "\n\nIMPORTANT: Please verify the integrity and authenticity of connected BTC wallet before signing this message\n"; + const CKB_SUFFIX: &str = "\n\nIMPORTANT: Please verify the integrity and authenticity of connected Ethereum wallet before signing this message\n"; const ETH_PREFIX: &str = "Ethereum Signed Message:\n"; let mut data: Vec = Vec::new(); assert_eq!(ETH_PREFIX.len(), 25);