From f45fa01318fcfde65e336fc45718c60372a20875 Mon Sep 17 00:00:00 2001 From: Jun Kimura Date: Tue, 29 Nov 2022 21:55:05 +0900 Subject: [PATCH] ICS5: fix releasePort signature (#885) Signed-off-by: Jun Kimura Signed-off-by: Jun Kimura --- spec/core/ics-005-port-allocation/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/core/ics-005-port-allocation/README.md b/spec/core/ics-005-port-allocation/README.md index f8c6d3d4d..8c7de5475 100644 --- a/spec/core/ics-005-port-allocation/README.md +++ b/spec/core/ics-005-port-allocation/README.md @@ -214,7 +214,7 @@ The IBC handler MUST implement the `releasePort` function, which allows a module > Warning: releasing a port will allow other modules to bind to that port and possibly intercept incoming channel opening handshakes. Modules should release ports only when doing so is safe. ```typescript -function releasePort(capability: CapabilityKey) { +function releasePort(id: Identifier, capability: CapabilityKey) { abortTransactionUnless(authenticateCapability(portPath(id), capability)) releaseCapability(capability) }