Skip to content

💥 [channel] Update NewFundingTimeoutError to return a value #80

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

Conversation

manoranjith
Copy link

  • Previously, the function returned pointer to an error. Update it to
    return a value.

  • It is idiomatic to return error types as values. The change also
    ensures this func is consistent with constructors for other error
    types.

Closes #73.

Signed-off-by: Manoranjith ponraj.manoranjitha@in.bosch.com

- Previously, the function returned pointer to an error. Update it to
  return a value.

- It is idiomatic to return error types as values. The change also
  ensures this func is consistent with constructors for other error
  types.

Closes hyperledger-labs#73.

Signed-off-by: Manoranjith <ponraj.manoranjitha@in.bosch.com>
@manoranjith manoranjith requested a review from ggwpez May 16, 2021 19:32
Copy link
Contributor

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

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

Thanks 🙏

@ggwpez ggwpez merged commit c6caccb into hyperledger-labs:dev May 17, 2021
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.

[client] NewFundingTimeoutErrror can return error as value instead of pointer.
2 participants