Skip to content

Commit

Permalink
Merge pull request #321 from ergoplatform/decimals
Browse files Browse the repository at this point in the history
Fix for decimals in update
  • Loading branch information
kushti authored Dec 6, 2023
2 parents 4ac8059 + ae88374 commit c127f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ oracle-config.yaml
/.vim/
/oracles/
/.vscode/
/.idea/
2 changes: 1 addition & 1 deletion core/src/cli_commands/prepare_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c127f42

Please sign in to comment.