diff --git a/spec/app/ics-020-fungible-token-transfer/README.md b/spec/app/ics-020-fungible-token-transfer/README.md index 3f77cb3d4..641710fb9 100644 --- a/spec/app/ics-020-fungible-token-transfer/README.md +++ b/spec/app/ics-020-fungible-token-transfer/README.md @@ -135,7 +135,7 @@ function onChanOpenInit( // as the version for this channel abortTransactionUnless(version === "ics20-1" || version === "") // allocate an escrow address - channelEscrowAddresses[channelIdentifier] = newAddress() + channelEscrowAddresses[channelIdentifier] = newAddress(portIdentifier, channelIdentifier) return "ics20-1", nil } ``` @@ -154,7 +154,7 @@ function onChanOpenTry( // assert that version is "ics20-1" abortTransactionUnless(counterpartyVersion === "ics20-1") // allocate an escrow address - channelEscrowAddresses[channelIdentifier] = newAddress() + channelEscrowAddresses[channelIdentifier] = newAddress(portIdentifier, channelIdentifier) // return version that this chain will use given the // counterparty version return "ics20-1", nil