Skip to content

Commit

Permalink
fix: fixed build errors after changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chexware committed Jul 9, 2024
1 parent 007511b commit e0a6691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/nft/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ impl<T: Config> Pallet<T> {
sender: &T::AccountId,
class_id: &ClassIdOf<T>,
quantity: u32,
is_signed_mint: bool,
is_pre_signed_mint: bool,
) -> DispatchResult {
// update class total issuance
Classes::<T>::try_mutate(class_id, |class_info| -> DispatchResult {
Expand Down Expand Up @@ -1718,7 +1718,7 @@ impl<T: Config> NFTTrait<T::AccountId, BalanceOf<T>> for Pallet<T> {
metadata: NftMetadata,
attributes: Attributes,
) -> Result<Self::TokenId, DispatchError> {
Self::do_mint_nft_with_token_id(sender, sender, class_id, Some(token_id), metadata, attributes, false)
Self::do_mint_nft_with_token_id(sender, sender, class_id, Some(token_id), metadata, attributes, false, false)
}

fn get_free_stackable_nft_balance(who: &T::AccountId, asset_id: &(Self::ClassId, Self::TokenId)) -> BalanceOf<T> {
Expand Down

0 comments on commit e0a6691

Please sign in to comment.