git.delta.rocks / unique-network / refs/commits / ce474613fd5f

difftreelog

fix use Option instead of AccountId::default

Yaroslav Bolyukin2021-03-09parent: #aa15707.patch.diff
in: master

1 file changed

modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
26642664
2665 <ContractOwner<T>>::insert(new_contract_address.clone(), who.clone());2665 <ContractOwner<T>>::insert(new_contract_address.clone(), who.clone());
26662666
2667 T::AccountId::default()2667 None
2668 }2668 }
26692669
2670 // When the contract is called, check if the sponsoring is enabled and pay fees from contract endowment if it is2670 // When the contract is called, check if the sponsoring is enabled and pay fees from contract endowment if it is