forked from Qortal/qortal
Minor terminology correction in GenesisBlock
This commit is contained in:
parent
3185cf23df
commit
cfb7a3cc4c
@ -143,7 +143,7 @@ public class GenesisBlock extends Block {
|
|||||||
/**
|
/**
|
||||||
* Refuse to calculate genesis block's minter signature!
|
* Refuse to calculate genesis block's minter signature!
|
||||||
* <p>
|
* <p>
|
||||||
* This is not possible as there is no private key for the genesis account and so no way to sign data.
|
* This is not possible as there is no private key for the null account and so no way to sign data.
|
||||||
* <p>
|
* <p>
|
||||||
* <b>Always throws IllegalStateException.</b>
|
* <b>Always throws IllegalStateException.</b>
|
||||||
*
|
*
|
||||||
@ -151,13 +151,13 @@ public class GenesisBlock extends Block {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void calcMinterSignature() {
|
public void calcMinterSignature() {
|
||||||
throw new IllegalStateException("There is no private key for genesis account");
|
throw new IllegalStateException("There is no private key for null account");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Refuse to calculate genesis block's transactions signature!
|
* Refuse to calculate genesis block's transactions signature!
|
||||||
* <p>
|
* <p>
|
||||||
* This is not possible as there is no private key for the genesis account and so no way to sign data.
|
* This is not possible as there is no private key for the null account and so no way to sign data.
|
||||||
* <p>
|
* <p>
|
||||||
* <b>Always throws IllegalStateException.</b>
|
* <b>Always throws IllegalStateException.</b>
|
||||||
*
|
*
|
||||||
@ -165,13 +165,13 @@ public class GenesisBlock extends Block {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void calcTransactionsSignature() {
|
public void calcTransactionsSignature() {
|
||||||
throw new IllegalStateException("There is no private key for genesis account");
|
throw new IllegalStateException("There is no private key for null account");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate genesis block minter signature.
|
* Generate genesis block minter signature.
|
||||||
* <p>
|
* <p>
|
||||||
* This is handled differently as there is no private key for the genesis account and so no way to sign data.
|
* This is handled differently as there is no private key for the null account and so no way to sign data.
|
||||||
*
|
*
|
||||||
* @return byte[]
|
* @return byte[]
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user