-
Notifications
You must be signed in to change notification settings - Fork 98
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
sync up react_state's return type #2570
Conversation
shouldn't matter, but this makes it consistent
Source/reactions/Castro_react.cpp
Outdated
} else { | ||
return false; | ||
} | ||
return burn_success == 1; |
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.
Now that the return type is int, can we just return burn_success?
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.
yes
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.
updated
PR summary
We had the return type as
bool
, but were returning anint
. This shouldn't matter,but this makes it consistent.
PR motivation
PR checklist
CHANGES
file has been updated, if appropriate