Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Allow operational recovery path if on_initialize use fullblock. #6089

Merged
merged 2 commits into from
May 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update frame/democracy/src/lib.rs
  • Loading branch information
gavofyork authored May 21, 2020
commit f8443d3e83c40c9ca04f4789e973340c9c933bf4
3 changes: 1 addition & 2 deletions frame/democracy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2064,8 +2064,7 @@ impl<T: Trait> Module<T> {
}

// See `note_imminent_preimage`
fn note_imminent_preimage_inner(who: T::AccountId, encoded_proposal: Vec<u8>) -> DispatchResult
{
fn note_imminent_preimage_inner(who: T::AccountId, encoded_proposal: Vec<u8>) -> DispatchResult {
let proposal_hash = T::Hashing::hash(&encoded_proposal[..]);
Self::check_pre_image_is_missing(proposal_hash)?;
let status = Preimages::<T>::get(&proposal_hash).ok_or(Error::<T>::NotImminent)?;
Expand Down