You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the following spec changes to TimeoutExecuted function in 04-channel.
if channel.state == FLUSHING {
upgradeTimeout = privateStore.get(counterpartyUpgradeTimeout(portIdentifier, channelIdentifier))
if upgradeTimeout != nil {
// counterparty-specified timeout must not have exceeded
// if it has, then restore the channel and abort upgrade handshake
if (upgradeTimeout.timeoutHeight != 0 && currentHeight() >= upgradeTimeout.timeoutHeight) ||
(upgradeTimeout.timeoutTimestamp != 0 && currentTimestamp() >= upgradeTimeout.timeoutTimestamp ) {
restoreChannel(portIdentifier, channelIdentifier)
} else if pendingInflightPackets(portIdentifier, channelIdentifier) == nil {
// if this was the last in-flight packet, then move channel state to FLUSHCOMPLETE
channel.state = FLUSHCOMPLETE
publicStore.set(channelPath(portIdentifier, channelIdentifier), channel)
}
}
}
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged/assigned
The text was updated successfully, but these errors were encountered:
Summary
Requires:
Add the following spec changes to TimeoutExecuted function in 04-channel.
For Admin Use
The text was updated successfully, but these errors were encountered: