From ce474613fd5fa4ab21ed13fccf51d23291fe7efd Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Tue, 09 Mar 2021 15:39:32 +0000 Subject: [PATCH] fix: use Option instead of AccountId::default --- --- a/pallets/nft/src/lib.rs +++ b/pallets/nft/src/lib.rs @@ -2664,7 +2664,7 @@ >::insert(new_contract_address.clone(), who.clone()); - T::AccountId::default() + None } // When the contract is called, check if the sponsoring is enabled and pay fees from contract endowment if it is -- gitstuff