Skip to content

Commit

Permalink
Merge branch '2.0' into isa-mana-remainder
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jan 12, 2024
2 parents 2adbb3b + fe776bd commit a6afcac
Show file tree
Hide file tree
Showing 5 changed files with 326 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl InputSelection {
.minimum_amount(self.protocol_parameters.storage_score_parameters());
let generation_amount = input.output.amount().saturating_sub(min_deposit);

self.protocol_parameters.potential_mana(
self.protocol_parameters.generate_mana_with_decay(
generation_amount,
input.output_id().transaction_id().slot_index(),
self.slot_index,
Expand Down
Loading

0 comments on commit a6afcac

Please sign in to comment.