Format committed files
@@ -145,8 +145,8 @@ pub mod pallet {
use frame_support::pallet_prelude::*;
use frame_support::traits::Time;
use frame_system::pallet_prelude::*;
- use t3rn_primitives::{ChainId, EscrowTrait};
use sp_std::convert::TryInto;
+ use t3rn_primitives::{ChainId, EscrowTrait};
#[pallet::config]
pub trait Config:
@@ -221,7 +221,8 @@ pub mod pallet {
xdns_record.assign_registrant(registrant.clone());
- let now = TryInto::<u64>::try_into(<T as EscrowTrait>::Time::now()).map_err(|_| "Unable to compute current timestamp")?;
+ let now = TryInto::<u64>::try_into(<T as EscrowTrait>::Time::now())
+ .map_err(|_| "Unable to compute current timestamp")?;
xdns_record.set_last_finalized(now);
