Skip to content

Commit

Permalink
delete packet once async ack has been written
Browse files Browse the repository at this point in the history
  • Loading branch information
sangier committed Oct 31, 2024
1 parent 98d9151 commit 6968864
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/core/v2/ics-004-channel-and-packet-semantics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,8 @@ function writeAcknowledgement(
data: packet.data,
acknowledgement
})
// delete the packet from state
storedPacket[destChannelId,sequence]=nil
}
}
```
Expand Down

0 comments on commit 6968864

Please sign in to comment.