Companion for substrate #9315 (#3477)

* fix

* update
This commit is contained in:
Xiliang Chen authored and GitHub committed 2021-07-20 20:59:54 +00:00
1 parent b94f294f4d
commit 88a4fd0351
2 files changed
+225 -220

No files matched your search

+224 -219
View File
File diff suppressed because it is too large. Load diff
@@ -288,7 +288,7 @@ pub async fn dispatch_with_root<T>(call: impl Into<<T::Runtime as system::Config
match event.event {
Event::Democracy(democracy::Event::Passed(_index)) if _index == ref_index => true,
Event::Democracy(democracy::Event::PreimageUsed(_hash, _, _)) if _hash == proposal_hash => true,
Event::Democracy(democracy::Event::Executed(_index, true)) if _index == ref_index => true,
Event::Democracy(democracy::Event::Executed(_index, Ok(()))) if _index == ref_index => true,
_ => false,
}
})