Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ics4-add active client check in sendpacket #1051

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
Next Next commit
fix markdown
sangier committed Dec 13, 2023
commit 1459931798cdea7a14c1c78436ed2a3b68d43931
4 changes: 2 additions & 2 deletions spec/core/ics-004-channel-and-packet-semantics/README.md
Original file line number Diff line number Diff line change
@@ -710,7 +710,7 @@ function getCounterPartyHops(proof: CommitmentProof | MultihopProof, lastConnect
// Returns the status of a client given its store.
function Status (client: clientState) {

if (client.FrozenHeight !==0) {
if (client.FrozenHeight !== 0) {
return Frozen
}
// Get latest consensus state from clientStore to check for expiry
@@ -720,7 +720,7 @@ function Status (client: clientState) {
}
// Check if Expired
let expirationTime := consState.Timestamp + client.TrustingPeriod
if (expirationTime <==now){
if (expirationTime <== now){
return Expired
}