Skip to content

Commit

Permalink
Merge pull request #677 from input-output-hk/enable-update-proposal
Browse files Browse the repository at this point in the history
enable UpdateProposal and UpdateVote fragments processing
  • Loading branch information
Mr-Leshiy committed Oct 28, 2021
2 parents 0e50963 + f814b0b commit d6f34b5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions chain-impl-mockchain/src/ledger/ledger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -925,16 +925,10 @@ impl Ledger {
)?;
}
Fragment::UpdateProposal(update_proposal) => {
if true {
return Err(Error::UpdateNotAllowedYet);
}
new_ledger =
new_ledger.apply_update_proposal(fragment_id, update_proposal, block_date)?;
}
Fragment::UpdateVote(vote) => {
if true {
return Err(Error::UpdateNotAllowedYet);
}
new_ledger = new_ledger.apply_update_vote(vote)?;
}
Fragment::VotePlan(tx) => {
Expand Down

0 comments on commit d6f34b5

Please sign in to comment.