Skip to content
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

ICS27: Update Callbacks #789

Merged
merged 1 commit into from
Jul 11, 2022
Merged

ICS27: Update Callbacks #789

merged 1 commit into from
Jul 11, 2022

Conversation

AdityaSripal
Copy link
Member

Update based on #629

@@ -379,7 +379,7 @@ function onChanOpenInit(
channelIdentifier: Identifier,
counterpartyPortIdentifier: Identifier,
counterpartyChannelIdentifier: Identifier,
version: string) {
version: string) => (version: string, err: Error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit of a nit but in some function signatures we use => and in others :. It would be good to have some kind of coding guidelines for the pseudocode language that we use in the specs. What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed. i like => it pops out more when i skim through the pseudocode and stands out from the rest of the connection syntax

Copy link
Contributor

@mpoke mpoke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AdityaSripal AdityaSripal merged commit 09114ad into master Jul 11, 2022
@AdityaSripal AdityaSripal deleted the aditya/update-27-cbs branch July 11, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants