mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-22 19:07:51 +00:00
Made Block.ExpandedAccount public, and added some more getters. This is needed for upcoming additional validation and unit tests.
This commit is contained in:
parent
b0c9ce7482
commit
617c801cbd
@ -136,7 +136,7 @@ public class Block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Lazy-instantiated expanded info on block's online accounts. */
|
/** Lazy-instantiated expanded info on block's online accounts. */
|
||||||
private static class ExpandedAccount {
|
public static class ExpandedAccount {
|
||||||
private final RewardShareData rewardShareData;
|
private final RewardShareData rewardShareData;
|
||||||
private final int sharePercent;
|
private final int sharePercent;
|
||||||
private final boolean isRecipientAlsoMinter;
|
private final boolean isRecipientAlsoMinter;
|
||||||
@ -169,6 +169,13 @@ public class Block {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Account getMintingAccount() {
|
||||||
|
return this.mintingAccount;
|
||||||
|
}
|
||||||
|
public Account getRecipientAccount() {
|
||||||
|
return this.recipientAccount;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns share bin for expanded account.
|
* Returns share bin for expanded account.
|
||||||
* <p>
|
* <p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user