Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 15, 2023
1 parent 6884d91 commit 36d6985
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions sdk/src/types/block/output/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,18 +448,6 @@ impl StorageScore for Output {

impl MinimumOutputAmount for Output {}

// pub(crate) fn verify_output_amount_supply(amount: u64, token_supply: u64) -> Result<(), Error> {
// if amount > token_supply {
// Err(Error::InvalidOutputAmount(amount))
// } else {
// Ok(())
// }
// }

// pub(crate) fn verify_output_amount(amount: u64, token_supply: u64) -> Result<(), Error> {
// verify_output_amount_supply(amount, token_supply)
// }

/// A trait that is shared by all output types, which is used to calculate the minimum amount the output
/// must contain to satisfy its storage cost.
pub trait MinimumOutputAmount: StorageScore {
Expand Down

0 comments on commit 36d6985

Please sign in to comment.