Companion for substrate #9315 (#3477)

* fix

* update
This commit is contained in:
Xiliang Chen
2021-07-21 08:59:54 +12:00
committed by GitHub
parent b94f294f4d
commit 88a4fd0351
2 changed files with 225 additions and 220 deletions
+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,
}
})