Skip to content

Commit

Permalink
Use currentTimestamp() >= p.stopTime in StopConsumerChainProposalHand…
Browse files Browse the repository at this point in the history
…ler (#769)

Tackle #768
  • Loading branch information
danwt authored Jun 20, 2022
1 parent ad30596 commit 5be51c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/app/ics-028-cross-chain-validation/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ function onChanOpenConfirm(
// PCF: Provider Chain Function
// implements governance proposal Handler
function StopConsumerChainProposalHandler(p: StopConsumerChainProposal) {
if currentTimestamp() > p.stopTime {
if currentTimestamp() >= p.stopTime {
// stop the consumer chain and do not lock the unbonding
StopConsumerChain(p.chainId, false)
}
Expand Down Expand Up @@ -1917,4 +1917,4 @@ function DistributeRewards() {
- For each token type defined as a pair `(denomination, amount)` in `ccvAccount`, a transfer token (as defined in [ICS 20](../ics-020-fungible-token-transfer/README.md)) is initiated.
- `lastDistributionTransferHeight` is set to the current height.
- **Error Condition**
- None.
- None.

0 comments on commit 5be51c0

Please sign in to comment.