From 270cd1f2515886ee48751094a2128041da2836fe Mon Sep 17 00:00:00 2001 From: Brandon Macer Date: Tue, 20 Sep 2022 12:33:03 -0400 Subject: [PATCH] remove unnecessary check in list --- pallets/rmrk-market/src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pallets/rmrk-market/src/lib.rs b/pallets/rmrk-market/src/lib.rs index aa761d0c..c6732c46 100644 --- a/pallets/rmrk-market/src/lib.rs +++ b/pallets/rmrk-market/src/lib.rs @@ -256,10 +256,6 @@ pub mod pallet { // Lock NFT to prevent transfers or interactions with the NFT pallet_rmrk_core::Pallet::::set_lock((collection_id, nft_id), true); - // Check if a prior listing is in storage from previous owner and update if found - if Self::is_nft_listed(collection_id, nft_id) { - ListedNfts::::remove(collection_id, nft_id); - } // Add new ListInfo with listed_by, amount, Option ListedNfts::::insert(