File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff 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) ]
397381pub async fn get_account_state (
398382 network_config : & crate :: config:: NetworkConfig ,
You can’t perform that action at this time.
0 commit comments