-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ics04: remove unused version
from init and try handlers
#963
Conversation
@@ -432,16 +430,14 @@ function handleChanOpenInit(datagram: ChanOpenInit) { | |||
datagram.order, | |||
datagram.connectionHops, | |||
datagram.portIdentifier, | |||
datagram.channelIdentifier, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was also not correct here since the channel identifier is generated in INIT by the handler and it's not in the datagram.
datagram.counterpartyPortIdentifier, | ||
datagram.counterpartyChannelIdentifier, | ||
version // pass in version returned from callback | ||
datagram.counterpartyChannelIdentifier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THis shouldn't exist on ChanOpenInit
) | ||
version, err = module.onChanOpenInit( | ||
datagram.order, | ||
datagram.connectionHops, | ||
datagram.portIdentifier, | ||
datagram.channelIdentifier, | ||
channelIdentifier, | ||
datagram.counterpartyPortIdentifier, | ||
datagram.counterpartyChannelIdentifier, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not exist
No description provided.