-
Notifications
You must be signed in to change notification settings - Fork 330
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
Handle empty reward address and fix available balance acccounting #826
Conversation
if rewardAddrStr == "" { | ||
return errors.Errorf("Producer %s doesn't have a reward address", producerAddrStr) | ||
return nil |
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.
log.warn
Codecov Report
@@ Coverage Diff @@
## master #826 +/- ##
==========================================
- Coverage 58.42% 58.21% -0.21%
==========================================
Files 149 146 -3
Lines 12169 12168 -1
==========================================
- Hits 7110 7084 -26
- Misses 4104 4135 +31
+ Partials 955 949 -6
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #826 +/- ##
==========================================
- Coverage 58.42% 58.21% -0.21%
==========================================
Files 149 146 -3
Lines 12169 12168 -1
==========================================
- Hits 7110 7084 -26
- Misses 4104 4135 +31
+ Partials 955 949 -6
Continue to review full report at Codecov.
|
Tested via unit tests