Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroProofs committed Jan 13, 2024
1 parent e5d7e3f commit f0f1768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/hardfork.ak
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,6 @@ pub fn hard_fork(

pub fn failed_fork(
fortuna_v1_hash: ByteArray,
hardfork_state_input: OutputReference,
fortuna_v1_output: Int,
transaction: Transaction,
own_policy: ByteArray,
Expand Down
5 changes: 2 additions & 3 deletions validators/hard_fork.ak
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ type NftForkAction {
hard_fork_state_ref: OutputReference,
locked_tokens_ref: OutputReference,
}
FailedFork { hardfork_state_input: OutputReference, fortuna_v1_output: Int }
FailedFork { fortuna_v1_output: Int }
}

// maybe we should do time instead of block height?
Expand Down Expand Up @@ -529,10 +529,9 @@ validator(init_utxo_ref: OutputReference, fortuna_v1_hash: ByteArray) {
user_locked_tuna,
)
}
FailedFork { hardfork_state_input, fortuna_v1_output } ->
FailedFork { fortuna_v1_output } ->
hardfork.failed_fork(
fortuna_v1_hash,
hardfork_state_input,
fortuna_v1_output,
transaction,
own_policy,
Expand Down

0 comments on commit f0f1768

Please sign in to comment.