Skip to content

Commit

Permalink
feat: update FFI client user agent string
Browse files Browse the repository at this point in the history
Updates the FFI client user agent string to be `format!("tari/mobile_wallet/{}", env!("CARGO_PKG_VERSION"))`
  • Loading branch information
philipr-za committed Mar 3, 2022
1 parent a099f14 commit 4a6df68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_layer/wallet_ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3244,7 +3244,7 @@ pub unsafe extern "C" fn comms_config_create(
allow_test_addresses: true,
listener_liveness_allowlist_cidrs: Vec::new(),
listener_liveness_max_sessions: 0,
user_agent: format!("tari/wallet/{}", env!("CARGO_PKG_VERSION")),
user_agent: format!("tari/mobile_wallet/{}", env!("CARGO_PKG_VERSION")),
dns_seeds_name_server: DEFAULT_DNS_NAME_SERVER
.parse()
.expect("Default dns name server constant should always be correct"),
Expand Down

0 comments on commit 4a6df68

Please sign in to comment.