diff --git a/crates/utils/tcbinfo-updater/src/main.rs b/crates/utils/tcbinfo-updater/src/main.rs index 2acc6ff..7440a95 100644 --- a/crates/utils/tcbinfo-updater/src/main.rs +++ b/crates/utils/tcbinfo-updater/src/main.rs @@ -45,10 +45,6 @@ async fn get_fmspc_list() -> Vec { async fn upsert_tcbinfo(url: &str, contract_addr: &str, chain_id : Id, sender: &str, gas: u64, fees: &str) -> Result<(), &'static str> { let network = Url::parse(url).expect("couldn't parse network URL"); - let skey = hex::decode(sk).expect("couldn't read signing key") - .as_slice() - .try_into() - .map_err(|e| anyhow!("failed to read/parse sk: {}", e)).expect("couldn't extract result value"); let client = CliClient::neutrond(network); let fmspc_list = get_fmspc_list().await;