mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
radicle: Move some functions to Home type
Certain functions in `Profile` did not need to be in there and could be moved in the more basic `Home` type.
This commit is contained in:
@@ -329,9 +329,9 @@ impl Node<MockSigner> {
|
||||
let home = Home::new(home).unwrap();
|
||||
let signer = MockSigner::default();
|
||||
let storage = Storage::open(home.storage()).unwrap();
|
||||
let addresses = Book::memory().unwrap();
|
||||
let tracking = tracking::Config::<tracking::Write>::memory().unwrap();
|
||||
let routing = routing::Table::memory().unwrap();
|
||||
let addresses = home.addresses_mut().unwrap();
|
||||
let tracking = home.tracking_mut().unwrap();
|
||||
let routing = home.routing_mut().unwrap();
|
||||
|
||||
Self {
|
||||
id: *signer.public_key(),
|
||||
|
||||
Reference in New Issue
Block a user