This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
ptrcports/wireguard-vanity-address/0004-lowercase-lol.patch
2022-04-27 05:57:56 +02:00

24 lines
624 B
Diff

From c072abceaaa2250d23ed344a0b36666a831719d6 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Wed, 27 Apr 2022 03:54:08 +0000
Subject: [PATCH 4/5] lowercase lol
---
src/lib.rs | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lib.rs b/src/lib.rs
index 2e6b33f..5dbe488 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -385,7 +385,6 @@ pub fn make_check_predicate(
let public_b64 = base64::encode(point.to_montgomery().as_bytes());
//println!("trial: {}", public_b64);
public_b64[start..end]
- .to_ascii_lowercase()
.contains(&prefix)
}
}
--
2.36.0