From b146b8335d8830ec1121ba7eacd5bd064edbee17 Mon Sep 17 00:00:00 2001 From: scx1332 Date: Fri, 8 Mar 2024 15:48:50 +0100 Subject: [PATCH] rename cancel to close --- src/actions/{cancel_deposit.rs => close_deposit.rs} | 0 src/actions/mod.rs | 2 +- src/main.rs | 2 +- src/options.rs | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/actions/{cancel_deposit.rs => close_deposit.rs} (100%) diff --git a/src/actions/cancel_deposit.rs b/src/actions/close_deposit.rs similarity index 100% rename from src/actions/cancel_deposit.rs rename to src/actions/close_deposit.rs diff --git a/src/actions/mod.rs b/src/actions/mod.rs index 1e614d5f..8ac515a8 100644 --- a/src/actions/mod.rs +++ b/src/actions/mod.rs @@ -2,7 +2,7 @@ use rustc_hex::FromHexError; use std::str::FromStr; use web3::types::Address; -pub mod cancel_deposit; +pub mod close_deposit; pub mod check_rpc; pub mod create_deposit; pub mod deposit_details; diff --git a/src/main.rs b/src/main.rs index 3f63a65d..3c0955dc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,7 +24,7 @@ use erc20_payment_lib::{ use std::env; use std::str::FromStr; -use crate::actions::cancel_deposit::close_deposit_local; +use crate::actions::close_deposit::close_deposit_local; use crate::actions::check_address_name; use crate::actions::check_rpc::check_rpc_local; use crate::actions::create_deposit::make_deposit_local; diff --git a/src/options.rs b/src/options.rs index 58d2f97e..adb7d325 100644 --- a/src/options.rs +++ b/src/options.rs @@ -1,6 +1,6 @@ use std::{fmt::Debug, path::PathBuf}; -use crate::actions::cancel_deposit::CloseDepositOptions; +use crate::actions::close_deposit::CloseDepositOptions; use crate::actions::create_deposit::CreateDepositOptions; use erc20_payment_lib_extra::{BalanceOptions, GenerateOptions}; use structopt::StructOpt;