ui/profile: fix dubious profile editing
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user