This commit is contained in:
Ajinkya Kulkarni 2025-02-13 15:28:03 +01:00
parent 318c99ee75
commit 34035eac9a

View file

@ -45,10 +45,6 @@ async fn get_fmspc_list() -> Vec<Fmspc> {
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;