Skip to content

Commit e9bbe4d

Browse files
committed
Rename update.rs
1 parent b8253e6 commit e9bbe4d

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

core/src/cli_commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ use ergo_lib::ergotree_ir::chain::address::NetworkPrefix;
22

33
pub mod bootstrap;
44
pub mod extract_reward_tokens;
5+
pub mod prepare_update;
56
pub mod print_reward_tokens;
67
pub mod transfer_oracle_token;
7-
pub mod update;
88
pub mod update_pool;
99
pub mod vote_update_pool;
1010

File renamed without changes.

core/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ fn main() {
279279
}
280280
Command::PrepareUpdate { update_file } => {
281281
assert_wallet_unlocked(&new_node_interface());
282-
if let Err(e) = cli_commands::update::prepare_update(update_file) {
282+
if let Err(e) = cli_commands::prepare_update::prepare_update(update_file) {
283283
error!("Fatal update error : {}", e);
284284
std::process::exit(exitcode::SOFTWARE);
285285
}

core/src/serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize};
1212
use crate::{
1313
cli_commands::{
1414
bootstrap::{Addresses, BootstrapConfig, TokensToMint},
15-
update::{UpdateBootstrapConfig, UpdateTokensToMint},
15+
prepare_update::{UpdateBootstrapConfig, UpdateTokensToMint},
1616
},
1717
contracts::{
1818
ballot::BallotContractParameters, oracle::OracleContractParameters,

0 commit comments

Comments
 (0)