Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Mar 25, 2024
1 parent b781d97 commit 70dbde7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/subcommand/wallet/inscribe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,10 @@ impl Inscribe {
let mintable = etching
.mint
.map(|mint| -> Result<u128> {
Ok(
mint
.cap
.checked_mul(mint.limit.to_amount(etching.divisibility)?)
.ok_or_else(|| anyhow!("`mint.count` * `mint.limit` over maximum"))?,
)
mint
.cap
.checked_mul(mint.limit.to_amount(etching.divisibility)?)
.ok_or_else(|| anyhow!("`mint.count` * `mint.limit` over maximum"))
})
.transpose()?
.unwrap_or_default();
Expand Down

0 comments on commit 70dbde7

Please sign in to comment.