difftreelog
fmt
in: master
3 files changed
pallets/common/src/erc.rsdiffbeforeafterboth173 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.180 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.174 fn get_collection_sponsor(&self) -> Result<(address, uint256)> {181 fn get_collection_sponsor(&self) -> Result<(address, uint256)> {175 let sponsor = match self.collection.sponsorship {182 let sponsor = match self.collection.sponsorship {176 SponsorshipState::Disabled | SponsorshipState::Unconfirmed(_) => return Ok(Default::default()),183 SponsorshipState::Disabled | SponsorshipState::Unconfirmed(_) => {184 return Ok(Default::default())185 }177 SponsorshipState::Confirmed(ref sponsor) => sponsor,186 SponsorshipState::Confirmed(ref sponsor) => sponsor,178 };187 };179 let sponsor = T::CrossAccountId::from_sub(sponsor.clone());188 let sponsor = T::CrossAccountId::from_sub(sponsor.clone());pallets/common/src/eth.rsdiffbeforeafterbothno syntactic changes
pallets/evm-contract-helpers/src/eth.rsdiffbeforeafterbothno syntactic changes