ui/profile: fix dubious profile editing

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-15 08:24:46 -07:00
parent 4e3fcad709
commit a714bef690
9 changed files with 148 additions and 188 deletions

View File

@@ -20,7 +20,7 @@ pub fn sample_pool() -> RelayPool {
}
// my (jb55) profile
const TEST_PROFILE_DATA: [u8; 448] = [
const _TEST_PROFILE_DATA: [u8; 448] = [
0x04, 0x00, 0x00, 0x00, 0x54, 0xfe, 0xff, 0xff, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xd6, 0xd9, 0xc6, 0x65, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0a, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x66, 0x69, 0x78, 0x6d,
@@ -62,8 +62,8 @@ pub fn test_pubkey() -> &'static [u8; 32] {
}
*/
pub fn test_profile_record() -> ProfileRecord<'static> {
ProfileRecord::new_owned(&TEST_PROFILE_DATA).unwrap()
pub fn _test_profile_record() -> ProfileRecord<'static> {
ProfileRecord::new_owned(&_TEST_PROFILE_DATA).unwrap()
}
/*