Skip to content

Commit 4011e13

Browse files
authored
Merge pull request #67 from Quantus-Network/hot_fix_smart_contract_checker
fix: EIP-7702 Account
2 parents 64cff36 + 1967940 commit 4011e13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services/risk_checker_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ impl RiskCheckerService {
331331
.as_str()
332332
.ok_or(RiskCheckerError::Other("Unexpected code response format".to_string()))?;
333333

334-
Ok(code != "0x")
334+
Ok(code.len() > 100)
335335
}
336336

337337
pub fn wei_to_eth(wei: &str) -> f64 {

0 commit comments

Comments
 (0)