git.delta.rocks / unique-network / refs/commits / 157c26fce0ee

difftreelog

chore fix weight for `set_properties`

Grigoriy Simonov2022-10-26parent: #011ab46.patch.diff
in: master

1 file changed

modifiedpallets/nonfungible/src/erc.rsdiffbeforeafterboth
118 /// @dev Throws error if `msg.sender` has no permission to edit the property.118 /// @dev Throws error if `msg.sender` has no permission to edit the property.
119 /// @param tokenId ID of the token.119 /// @param tokenId ID of the token.
120 /// @param properties settable properties120 /// @param properties settable properties
121 #[weight(<SelfWeightOf<T>>::set_token_properties(properties.len() as u32))]
121 fn set_properties(122 fn set_properties(
122 &mut self,123 &mut self,
123 caller: caller,124 caller: caller,