We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a2ab8 commit 8b47987Copy full SHA for 8b47987
2 files changed
src/rpc/methods/eth.rs
@@ -269,7 +269,6 @@ lotus_json_with_self!(EthInt64);
269
270
impl EthHash {
271
// Should ONLY be used for blocks and Filecoin messages. Eth transactions expect a different hashing scheme.
272
- #[allow(clippy::wrong_self_convention)]
273
pub fn to_cid(&self) -> cid::Cid {
274
let mh = MultihashCode::Blake2b256
275
.wrap(self.0.as_bytes())
src/rpc/methods/eth/types.rs
@@ -131,7 +131,6 @@ impl GetSize for EthAddress {
131
}
132
133
impl EthAddress {
134
135
pub fn to_filecoin_address(&self) -> anyhow::Result<FilecoinAddress> {
136
if self.is_masked_id() {
137
const PREFIX_LEN: usize = MASKED_ID_PREFIX.len();
0 commit comments