We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9314b8 commit e2fb03aCopy full SHA for e2fb03a
2 files changed
relay_rpc/src/auth/cacao/signature/eip191.rs
@@ -10,7 +10,7 @@ pub const EIP191: &str = "eip191";
10
pub fn eip191_bytes(message: &str) -> Vec<u8> {
11
format!(
12
"\u{0019}Ethereum Signed Message:\n{}{}",
13
- message.as_bytes().len(),
+ message.len(),
14
message
15
)
16
.into()
relay_rpc/src/macros.rs
@@ -11,6 +11,8 @@ macro_rules! new_type {
Hash,
Clone,
PartialEq,
+ PartialOrd,
+ Ord,
Eq,
17
::serde::Serialize,
18
::serde::Deserialize,
0 commit comments