mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-07 18:27:53 +00:00
Added defensiveness
This commit is contained in:
parent
12fb6cd0ad
commit
ccc1976d00
@ -52,6 +52,11 @@ public class SelfSponsorshipAlgoV1 {
|
|||||||
|
|
||||||
|
|
||||||
public void run() throws DataException {
|
public void run() throws DataException {
|
||||||
|
if (this.accountData == null) {
|
||||||
|
// Nothing to do
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.fetchSponsorshipRewardShares();
|
this.fetchSponsorshipRewardShares();
|
||||||
if (this.sponsorshipRewardShares.isEmpty()) {
|
if (this.sponsorshipRewardShares.isEmpty()) {
|
||||||
// Nothing to do
|
// Nothing to do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user