From b881272b6a096310ba3e5f0cc795836c96bf4870 Mon Sep 17 00:00:00 2001
From: wangjj9219 <183318287@qq.com>
Date: Mon, 16 Nov 2020 13:15:26 +0800
Subject: [PATCH] fix warning in latest nightly toolchain (#318)

---
 authority/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/authority/src/lib.rs b/authority/src/lib.rs
index babd636..6f889cc 100644
--- a/authority/src/lib.rs
+++ b/authority/src/lib.rs
@@ -308,7 +308,7 @@ decl_module! {
 
 			// TODO: depends https://github.com/paritytech/substrate/issues/6774
 
-			Self::deposit_event(RawEvent::Delayed(initial_origin, task_id, 0.into()));
+			Self::deposit_event(RawEvent::Delayed(initial_origin, task_id, 0u32.into()));
 		}
 
 		/// Cancel a scheduled dispatchable.
-- 
GitLab