node: Relax `Service` storage trait bound

This commit is contained in:
Alexis Sellier 2023-03-23 18:08:06 +01:00
parent 577a232a68
commit bfea229850
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ use crate::service::session::GossipState;
use crate::service::tracking::Scope;
use crate::storage;
use crate::storage::{Namespaces, ReadStorage};
use crate::storage::{ReadRepository, RefUpdate, WriteStorage};
use crate::storage::{ReadRepository, RefUpdate};
use crate::worker::FetchError;
use crate::Link;
@ -223,7 +223,7 @@ impl<R, A, S, G> Service<R, A, S, G>
where
R: routing::Store,
A: address::Store,
S: WriteStorage + 'static,
S: ReadStorage + 'static,
G: Signer,
{
pub fn new(