From dfc7d5fce70ca7414e3aaa276503ecc806b98752 Mon Sep 17 00:00:00 2001 From: Shourya742 Date: Sun, 18 Aug 2024 18:43:02 +0530 Subject: [PATCH] remove fidelity api from taker --- src/bin/taker.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/bin/taker.rs b/src/bin/taker.rs index 7d126d23..aed93032 100644 --- a/src/bin/taker.rs +++ b/src/bin/taker.rs @@ -72,16 +72,12 @@ enum Commands { SwapUtxo, /// Returns a list of live contract utxos ContractUtxo, - /// Returns a list of fidelity utxos - FidelityUtxo, /// Returns the total seed balance SeedBalance, /// Returns the total swap coin balance SwapBalance, /// Returns the total live contract balance ContractBalance, - /// Returns the total fidelity balance - FidelityBalance, /// Returns the total balance of taker wallet TotalBalance, /// Returns a new address @@ -152,16 +148,6 @@ fn main() { .collect(); println!("{:?}", utxos); } - Commands::FidelityUtxo => { - let utxos: Vec = taker - .get_wallet() - .list_fidelity_spend_info(None) - .unwrap() - .iter() - .map(|(l, _)| l.clone()) - .collect(); - println!("{:?}", utxos); - } Commands::ContractBalance => { let balance = taker.get_wallet().balance_live_contract(None).unwrap(); println!("{:?}", balance); @@ -174,10 +160,6 @@ fn main() { let balance = taker.get_wallet().balance_descriptor_utxo(None).unwrap(); println!("{:?}", balance); } - Commands::FidelityBalance => { - let balance = taker.get_wallet().balance_fidelity_bonds(None).unwrap(); - println!("{:?}", balance); - } Commands::TotalBalance => { let balance = taker.get_wallet().balance().unwrap(); println!("{:?}", balance);