difftreelog
style(nonfungible) benchmarking warnings
in: master
2 files changed
pallets/common/src/benchmarking.rsdiffbeforeafterboth14// You should have received a copy of the GNU General Public License14// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617#![allow(missing_docs)]161817use sp_std::vec::Vec;19use sp_std::vec::Vec;18use crate::{Config, CollectionHandle, Pallet};20use crate::{Config, CollectionHandle, Pallet};pallets/nonfungible/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/benchmarking.rs
+++ b/pallets/nonfungible/src/benchmarking.rs
@@ -232,8 +232,7 @@
owner: cross_from_sub;
};
let item = create_max_item(&collection, &owner, owner.clone())?;
-
- }: {collection.token_owner(item)}
+ }: {collection.token_owner(item).unwrap()}
set_allowance_for_all {
bench_init!{