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
The following spec additions should be added to the ChanUpgradeAck handler to call the channel upgrade open subprotocol if ready:
// if both sides have already flushed then open the upgrade handshake immediately
if currentChannel.flushStatus == FLUSHCOMPLETE && counterpartyFlushStatus == FLUSHCOMPLETE {
openUpgradelHandshake(portIdentifier, channelIdentifier)
module.onChanUpgradeOpen(portIdentifier, channelIdentifier)
}
Note, we normally route app callbacks from the core msg server so we probably need to make this check at that level in order to call:
Note when calling into ChanUpgradeOpen subprotocol from ChanUpgradeAck we assume the counterpartyChannelState to be TRYUPGRADE as is already verified in the ChanUpgradeAck handler
Summary
The following spec additions should be added to the
ChanUpgradeAck
handler to call the channel upgrade open subprotocol if ready:Note, we normally route app callbacks from the core msg server so we probably need to make this check at that level in order to call:
For Admin Use
The text was updated successfully, but these errors were encountered: