From 6f88607c2d14daefafcd52ae88b25142c4c2f8d6 Mon Sep 17 00:00:00 2001 From: dkijania Date: Wed, 14 Aug 2019 11:21:36 +0200 Subject: [PATCH] Fix for bug #79 --- chain-impl-mockchain/src/update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain-impl-mockchain/src/update.rs b/chain-impl-mockchain/src/update.rs index c96b6c047..162293d0e 100644 --- a/chain-impl-mockchain/src/update.rs +++ b/chain-impl-mockchain/src/update.rs @@ -118,7 +118,7 @@ impl UpdateState { settings = settings.apply(&proposal_state.proposal.changes)?; expired_ids.push(proposal_id.clone()); } else if proposal_state.proposal_date.epoch + settings.proposal_expiration - > new_date.epoch + < new_date.epoch { expired_ids.push(proposal_id.clone()); }