temp fix: changed field order to workaround bug in libp2p
This commit is contained in:
parent
25c8d583fc
commit
3b5919397b
@ -25,17 +25,17 @@ use tokio::task;
|
||||
#[derive(libp2p::NetworkBehaviour)]
|
||||
#[behaviour(event_process = true)]
|
||||
pub struct Behaviour<Types: IpfsTypes> {
|
||||
#[behaviour(ignore)]
|
||||
repo: Arc<Repo<Types>>,
|
||||
// mdns: Toggle<TokioMdns>,
|
||||
kademlia: Kademlia<MemoryStore>,
|
||||
#[behaviour(ignore)]
|
||||
kad_subscriptions: SubscriptionRegistry<KadResult, String>,
|
||||
bitswap: Bitswap,
|
||||
ping: Ping,
|
||||
identify: Identify,
|
||||
pubsub: Pubsub,
|
||||
pub swarm: SwarmApi,
|
||||
#[behaviour(ignore)]
|
||||
repo: Arc<Repo<Types>>,
|
||||
#[behaviour(ignore)]
|
||||
kad_subscriptions: SubscriptionRegistry<KadResult, String>,
|
||||
}
|
||||
|
||||
/// Represents the result of a Kademlia query.
|
||||
|
Loading…
x
Reference in New Issue
Block a user