mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 13:54:44 +00:00
Beta compiler fixes (#5543)
* remove duplicate imports in gossip tests. get rid of duplicate trait bound locations * more double import fixes * cargo fmt
This commit is contained in:
@@ -221,9 +221,7 @@ impl MessageCache {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::types::RawMessage;
|
||||
use crate::{IdentTopic as Topic, TopicHash};
|
||||
use libp2p::identity::PeerId;
|
||||
use crate::IdentTopic as Topic;
|
||||
|
||||
fn gen_testm(x: u64, topic: TopicHash) -> (MessageId, RawMessage) {
|
||||
let default_id = |message: &RawMessage| {
|
||||
|
||||
Reference in New Issue
Block a user