Skip to content

Commit 2e37295

Browse files
committed
chore: cleanup
1 parent 6ebf18c commit 2e37295

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/common.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -377,22 +377,6 @@ pub fn ask_if_different_account_id_wanted() -> color_eyre::eyre::Result<bool> {
377377
Ok(select_choose_input == ConfirmOptions::Yes)
378378
}
379379

380-
pub fn ask_if_contract_is_global() -> color_eyre::eyre::Result<bool> {
381-
#[derive(strum_macros::Display, PartialEq)]
382-
enum ConfirmOptions {
383-
#[strum(to_string = "Yes")]
384-
Yes,
385-
#[strum(to_string = "No")]
386-
No,
387-
}
388-
let select_choose_input = Select::new(
389-
"Is contract global?",
390-
vec![ConfirmOptions::Yes, ConfirmOptions::No],
391-
)
392-
.prompt()?;
393-
Ok(select_choose_input == ConfirmOptions::Yes)
394-
}
395-
396380
#[tracing::instrument(name = "Getting account status information for", skip_all)]
397381
pub async fn get_account_state(
398382
network_config: &crate::config::NetworkConfig,

0 commit comments

Comments
 (0)