Skip to content

Commit 8b47987

Browse files
committed
remove clippy wrong_self_convention
1 parent 74a2ab8 commit 8b47987

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/rpc/methods/eth.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ lotus_json_with_self!(EthInt64);
269269

270270
impl EthHash {
271271
// Should ONLY be used for blocks and Filecoin messages. Eth transactions expect a different hashing scheme.
272-
#[allow(clippy::wrong_self_convention)]
273272
pub fn to_cid(&self) -> cid::Cid {
274273
let mh = MultihashCode::Blake2b256
275274
.wrap(self.0.as_bytes())

src/rpc/methods/eth/types.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ impl GetSize for EthAddress {
131131
}
132132

133133
impl EthAddress {
134-
#[allow(clippy::wrong_self_convention)]
135134
pub fn to_filecoin_address(&self) -> anyhow::Result<FilecoinAddress> {
136135
if self.is_masked_id() {
137136
const PREFIX_LEN: usize = MASKED_ID_PREFIX.len();

0 commit comments

Comments
 (0)