Skip to content

Commit

Permalink
fix deadcode clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dimxy committed Nov 26, 2023
1 parent ba7ce3e commit 4d0ecdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/trezor/src/eth/eth_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn get_eth_network_def(chain_id: ChainId) -> Option<Vec<u8>> {
}

/// get token definition by token contract address and chain id
#[warn(dead_code)]
#[allow(dead_code)]
fn get_eth_token_def(address_bytes: &[u8], chain_id: ChainId) -> Option<Vec<u8>> {
ETH_TOKEN_DEFS
.iter()
Expand Down

0 comments on commit 4d0ecdd

Please sign in to comment.