mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-11 22:20:41 +08:00
Various small improvements across crates
Most of these changes should be self-explanatory. * Atomic fetch was no longer used * The default policy when initializing should be 'all', as it is with `rad init`.
This commit is contained in:
@@ -476,10 +476,7 @@ impl<G: cyphernet::Ecdh<Pk = NodeId> + Signer + Clone> Node<G> {
|
||||
.map(|(id, _, _)| id)
|
||||
.unwrap();
|
||||
|
||||
assert!(self
|
||||
.policies
|
||||
.seed(&id, node::policy::Scope::Followed)
|
||||
.unwrap());
|
||||
assert!(self.policies.seed(&id, node::policy::Scope::All).unwrap());
|
||||
|
||||
log::debug!(
|
||||
target: "test",
|
||||
|
||||
Reference in New Issue
Block a user