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

Change 'unwrap' usage to '?' operator in controller/src/command.rs #104

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

who-biz
Copy link
Contributor

@who-biz who-biz commented Dec 20, 2023

usage of ? operator was removed, and replaced with unwrap() which will panic if operation fails.

These changes were originally made in tokio, hyper, etc update in #95

Purpose of this PR is just a reversion of these, to avoid panics in tx flow.

@who-biz who-biz force-pushed the controller-dont-use-unwrap branch from a8c332b to 35584a7 Compare December 21, 2023 20:41
@who-biz
Copy link
Contributor Author

who-biz commented Dec 21, 2023

Reverted changes that pertain to test subdirectory. Otherwise we'd have to convert error types, which seems pointless for testing suite.

@johanneshahn johanneshahn merged commit e537e02 into EpicCash:master Dec 22, 2023
1 check passed
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