Skip to content

Commit

Permalink
Rename update.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
SethDusek committed Aug 7, 2022
1 parent b8253e6 commit e9bbe4d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/cli_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ use ergo_lib::ergotree_ir::chain::address::NetworkPrefix;

pub mod bootstrap;
pub mod extract_reward_tokens;
pub mod prepare_update;
pub mod print_reward_tokens;
pub mod transfer_oracle_token;
pub mod update;
pub mod update_pool;
pub mod vote_update_pool;

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion core/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ fn main() {
}
Command::PrepareUpdate { update_file } => {
assert_wallet_unlocked(&new_node_interface());
if let Err(e) = cli_commands::update::prepare_update(update_file) {
if let Err(e) = cli_commands::prepare_update::prepare_update(update_file) {
error!("Fatal update error : {}", e);
std::process::exit(exitcode::SOFTWARE);
}
Expand Down
2 changes: 1 addition & 1 deletion core/src/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize};
use crate::{
cli_commands::{
bootstrap::{Addresses, BootstrapConfig, TokensToMint},
update::{UpdateBootstrapConfig, UpdateTokensToMint},
prepare_update::{UpdateBootstrapConfig, UpdateTokensToMint},
},
contracts::{
ballot::BallotContractParameters, oracle::OracleContractParameters,
Expand Down

0 comments on commit e9bbe4d

Please sign in to comment.