Added defensiveness

This commit is contained in:
CalDescent 2022-12-08 18:25:03 +00:00
parent 12fb6cd0ad
commit ccc1976d00

View File

@ -52,6 +52,11 @@ public class SelfSponsorshipAlgoV1 {
public void run() throws DataException {
if (this.accountData == null) {
// Nothing to do
return;
}
this.fetchSponsorshipRewardShares();
if (this.sponsorshipRewardShares.isEmpty()) {
// Nothing to do