From 7273c45e6517cd8f47be0b8a4492c9f93b13c143 Mon Sep 17 00:00:00 2001 From: Alexander Chepurnoy Date: Wed, 6 Dec 2023 22:03:10 +0300 Subject: [PATCH] decimals in update fix --- .gitignore | 1 + core/src/cli_commands/prepare_update.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0054e0c9..3ee24bb9 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ oracle-config.yaml /.vim/ /oracles/ /.vscode/ +/.idea/ \ No newline at end of file diff --git a/core/src/cli_commands/prepare_update.rs b/core/src/cli_commands/prepare_update.rs index f8974dc9..d782c984 100644 --- a/core/src/cli_commands/prepare_update.rs +++ b/core/src/cli_commands/prepare_update.rs @@ -249,7 +249,7 @@ impl<'a> PrepareUpdate<'a> { token_box_guard, self.input.height.0, ); - builder.mint_token(token.clone(), token_name, token_desc, 1); + builder.mint_token(token.clone(), token_name, token_desc, 0); let mut output_candidates = vec![builder.build()?]; let remaining_funds = ErgoBoxCandidateBuilder::new(