From 47fea20d4d400e967721396092c6b43398c65d78 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Wed, 6 Nov 2024 22:09:56 +0700 Subject: [PATCH] Fix variable name (#1162) --- spec/eureka/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/eureka/README.md b/spec/eureka/README.md index 8fee7e571..5daaff97b 100644 --- a/spec/eureka/README.md +++ b/spec/eureka/README.md @@ -191,17 +191,17 @@ function sendPacket( assert(timeoutHeight === 0 || latestClientHeight < timeoutHeight) // if the sequence doesn't already exist, this call initializes the sequence to 0 - sequence = channelStore.get(nextSequenceSendPath(commitPort, sourceChannel)) + sequence = channelStore.get(nextSequenceSendPath(sourcePort, sourceChannel)) // store commitment to the packet data & packet timeout channelStore.set( - packetCommitmentPath(commitPort, sourceChannel, sequence), + packetCommitmentPath(sourcePort, sourceChannel, sequence), hash(hash(data), timeoutHeight, timeoutTimestamp) ) // increment the sequence. Thus there are monotonically increasing sequences for packet flow // from sourcePort, sourceChannel pair - channelStore.set(nextSequenceSendPath(commitPort, sourceChannel), sequence+1) + channelStore.set(nextSequenceSendPath(sourcePort, sourceChannel), sequence+1) // log that a packet can be safely sent emitLogEntry("sendPacket", {