mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make clippy happy (#13772)
This commit is contained in:
@ -253,7 +253,7 @@ pub trait EthTransactions: LoadTransaction<Provider: BlockReaderIdExt> {
|
||||
}
|
||||
|
||||
// Check if the sender is a contract
|
||||
if self.get_code(sender, None).await?.len() > 0 {
|
||||
if !self.get_code(sender, None).await?.is_empty() {
|
||||
return Ok(None);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user