Switch to Columns
Also refactor damus app usage to only pass in things that we need in views. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -55,6 +55,7 @@ const TEST_PROFILE_DATA: [u8; 448] = [
|
||||
0x0c, 0x00, 0x24, 0x00, 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
];
|
||||
|
||||
/*
|
||||
const TEST_PUBKEY: [u8; 32] = [
|
||||
0x32, 0xe1, 0x82, 0x76, 0x35, 0x45, 0x0e, 0xbb, 0x3c, 0x5a, 0x7d, 0x12, 0xc1, 0xf8, 0xe7, 0xb2,
|
||||
0xb5, 0x14, 0x43, 0x9a, 0xc1, 0x0a, 0x67, 0xee, 0xf3, 0xd9, 0xfd, 0x9c, 0x5c, 0x68, 0xe2, 0x45,
|
||||
@@ -63,6 +64,7 @@ const TEST_PUBKEY: [u8; 32] = [
|
||||
pub fn test_pubkey() -> &'static [u8; 32] {
|
||||
&TEST_PUBKEY
|
||||
}
|
||||
*/
|
||||
|
||||
pub fn test_profile_record() -> ProfileRecord<'static> {
|
||||
ProfileRecord::new_owned(&TEST_PROFILE_DATA).unwrap()
|
||||
@@ -99,7 +101,7 @@ pub fn test_app() -> Damus {
|
||||
|
||||
let accounts = get_test_accounts();
|
||||
for account in accounts {
|
||||
app.account_manager.add_account(account);
|
||||
app.accounts.add_account(account);
|
||||
}
|
||||
|
||||
app
|
||||
|
||||
Reference in New Issue
Block a user