Skip to content

Commit

Permalink
fix #113 hardcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongFuze committed Dec 13, 2023
1 parent 15d90fb commit dad9bcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/upstream/dotbit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,11 +427,11 @@ async fn fetch_reverse_record(
}

async fn fetch_account_list_by_addrs(
_platform: &Platform,
platform: &Platform,
identity: &str,
) -> Result<TargetProcessedList, Error> {
// das_accountList
let coin_type: CoinType = _platform.clone().into();
let coin_type: CoinType = platform.clone().into();
if coin_type == CoinType::Unknown {
return Ok(vec![]);
}
Expand Down Expand Up @@ -473,7 +473,7 @@ async fn fetch_account_list_by_addrs(
let cli = make_http_client(); // connect server
let from: Identity = Identity {
uuid: Some(Uuid::new_v4()),
platform: Platform::Ethereum,
platform: platform.clone(),
identity: identity.to_string().to_lowercase().clone(),
uid: None,
created_at: None,
Expand Down

0 comments on commit dad9bcd

Please sign in to comment.