From d18d118a20237b46ef806bcdade8283c8803e891 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 23 Jun 2021 17:45:25 +1000 Subject: [PATCH] Remove unicode in Zebra's user agent (#2376) --- zebra-network/src/constants.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zebra-network/src/constants.rs b/zebra-network/src/constants.rs index daf21eaa..2bcd93b7 100644 --- a/zebra-network/src/constants.rs +++ b/zebra-network/src/constants.rs @@ -92,8 +92,9 @@ pub const TIMESTAMP_TRUNCATION_SECONDS: u32 = 30 * 60; /// This must be a valid [BIP 14] user agent. /// /// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki -// XXX can we generate this from crate metadata? -pub const USER_AGENT: &str = "/🦓Zebra🦓:1.0.0-alpha.11/"; +// +// TODO: generate this from crate metadata (#2375) +pub const USER_AGENT: &str = "/Zebra:1.0.0-alpha.11/"; /// The Zcash network protocol version implemented by this crate, and advertised /// during connection setup.