Skip to content

Commit

Permalink
Remove unicode in Zebra's user agent (#2376)
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Jun 23, 2021
1 parent 9688811 commit d18d118
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zebra-network/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d18d118

Please sign in to comment.