Changeset View
Changeset View
Standalone View
Standalone View
native/native_rust_library/src/wallet_registration.rs
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | device_key_upload: Some(DeviceKeyUpload { | ||||
notif_upload: Some(Prekey { | notif_upload: Some(Prekey { | ||||
prekey: wallet_user_info.notif_prekey, | prekey: wallet_user_info.notif_prekey, | ||||
prekey_signature: wallet_user_info.notif_prekey_signature, | prekey_signature: wallet_user_info.notif_prekey_signature, | ||||
}), | }), | ||||
one_time_content_prekeys: wallet_user_info.content_one_time_keys, | one_time_content_prekeys: wallet_user_info.content_one_time_keys, | ||||
one_time_notif_prekeys: wallet_user_info.notif_one_time_keys, | one_time_notif_prekeys: wallet_user_info.notif_one_time_keys, | ||||
device_type: DEVICE_TYPE.into(), | device_type: DEVICE_TYPE.into(), | ||||
}), | }), | ||||
farcaster_id: None, | |||||
}; | }; | ||||
let mut identity_client = get_unauthenticated_client( | let mut identity_client = get_unauthenticated_client( | ||||
IDENTITY_SOCKET_ADDR, | IDENTITY_SOCKET_ADDR, | ||||
CODE_VERSION, | CODE_VERSION, | ||||
DEVICE_TYPE.as_str_name().to_lowercase(), | DEVICE_TYPE.as_str_name().to_lowercase(), | ||||
) | ) | ||||
.await?; | .await?; | ||||
Show All 12 Lines |