Skip to content

Commit

Permalink
Merge branch '2.0' into rust-2.0.0-alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Apr 29, 2024
2 parents ea6eba0 + 0284950 commit 6b111d2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ impl TransactionBuilder {
.with_features(features);
match new_amount {
Some(amount) => builder = builder.with_amount(amount),
None => builder = builder.with_minimum_amount(self.protocol_parameters.storage_score_parameters()),
None => {
if input.features().staking().is_none() {
builder = builder.with_minimum_amount(self.protocol_parameters.storage_score_parameters());
}
}
}

// Block issuers cannot move their mana elsewhere.
Expand Down

0 comments on commit 6b111d2

Please sign in to comment.