diff --git a/ephemera/src/block/manager.rs b/ephemera/src/block/manager.rs index c125fed228..a0538479db 100644 --- a/ephemera/src/block/manager.rs +++ b/ephemera/src/block/manager.rs @@ -43,6 +43,7 @@ pub(crate) enum BlockManagerError { BlockManager(#[from] anyhow::Error), } +#[allow(clippy::struct_field_names)] // this should get resolved properly at some point, but not now... /// It helps to use atomic state management for new blocks. pub(crate) struct BlockChainState { pub(crate) last_blocks: LruCache, diff --git a/ephemera/src/network/mod.rs b/ephemera/src/network/mod.rs index 205e147903..ece4db4e67 100644 --- a/ephemera/src/network/mod.rs +++ b/ephemera/src/network/mod.rs @@ -102,6 +102,8 @@ pub(crate) struct Peer { /// assert_eq!(peer_id, public_key.peer_id()); /// /// ``` + #[allow(clippy::struct_field_names)] + // this should get resolved properly at some point, but not now... pub peer_id: PeerId, /// The peer's public key. It matches PeerId. pub public_key: PublicKey,