Skip to content

Commit

Permalink
working as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
logicalmechanism committed Jan 12, 2025
1 parent fc0f09f commit 0b3d6ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions seedelf-cli/src/commands/util/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ pub async fn run(args: MintArgs, network_flag: bool) -> Result<(), String> {
let usuable_utxos: Vec<UtxoResponse> =
utxos::select(owned_utxos, lovelace_goal, Assets::default());

if usuable_utxos.is_empty() {
return Err("Not Enough Lovelace".to_string());
}
let (total_lovelace, change_tokens) = utxos::assets_of(usuable_utxos.clone());

for utxo in usuable_utxos.clone() {
Expand Down

0 comments on commit 0b3d6ce

Please # to comment.