Skip to content

Commit

Permalink
fix(applying): remove check ADA not minted
Browse files Browse the repository at this point in the history
  • Loading branch information
MaicoLeberle committed Jan 3, 2024
1 parent 9a60c46 commit 06c2152
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pallas-applying/src/alonzo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,5 @@ fn check_script_data_hash(
// Each minted / burned asset is paired with an appropriate native script or
// minting policy.
fn check_minting(tx_body: &TransactionBody, _mtx: &MintedTx) -> ValidationResult {

Check warning on line 500 in pallas-applying/src/alonzo.rs

View workflow job for this annotation

GitHub Actions / Check (ubuntu-latest, stable)

unused variable: `tx_body`

Check warning on line 500 in pallas-applying/src/alonzo.rs

View workflow job for this annotation

GitHub Actions / Check (macOS-latest, stable)

unused variable: `tx_body`

Check warning on line 500 in pallas-applying/src/alonzo.rs

View workflow job for this annotation

GitHub Actions / Test Suite

unused variable: `tx_body`

Check warning on line 500 in pallas-applying/src/alonzo.rs

View workflow job for this annotation

GitHub Actions / Check (windows-latest, stable)

unused variable: `tx_body`
check_ada_not_minted(tx_body)?;
Ok(())
}

// No ADA is minted.
fn check_ada_not_minted(_tx_body: &TransactionBody) -> ValidationResult {
Ok(())
}

0 comments on commit 06c2152

Please sign in to comment.