Skip to content

Commit

Permalink
consistent naming in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaSripal committed Dec 19, 2023
1 parent 8106c5b commit fcd90ac
Showing 1 changed file with 2 additions and 2 deletions.
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
Expand Up @@ -827,10 +827,10 @@ function recvPacket(
channel = provableStore.get(channelPath(packet.destPort, packet.destChannel))
abortTransactionUnless(channel !== null)
abortTransactionUnless(channel.state === OPEN || (channel.state === FLUSHING))
counterpartyNextPacketSend = privateStore.get(counterpartyNextPacketSendSequence(packet.destPort, packet.destChannel))
counterpartyNextSequenceSend = privateStore.get(counterpartyNextSequenceSendSequence(packet.destPort, packet.destChannel))
// defensive check that ensures chain does not process a packet higher than the last packet sent before
// counterparty went into FLUSHING mode. If the counterparty is implemented correctly, this should never abort
abortTransactionUnless(counterpartyNextPacketSend == 0 || packet.sequence < counterpartyNextPacketSend)
abortTransactionUnless(counterpartyNextSequenceSend == 0 || packet.sequence < counterpartyNextSequenceSend)
abortTransactionUnless(authenticateCapability(channelCapabilityPath(packet.destPort, packet.destChannel), capability))
abortTransactionUnless(packet.sourcePort === channel.counterpartyPortIdentifier)
abortTransactionUnless(packet.sourceChannel === channel.counterpartyChannelIdentifier)
Expand Down

0 comments on commit fcd90ac

Please sign in to comment.