Browse Source

Minor terminology correction in GenesisBlock

split-DB
catbref 4 years ago
parent
commit
cfb7a3cc4c
  1. 10
      src/main/java/org/qortal/block/GenesisBlock.java

10
src/main/java/org/qortal/block/GenesisBlock.java

@ -143,7 +143,7 @@ public class GenesisBlock extends Block {
/**
* Refuse to calculate genesis block's minter signature!
* <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>
* <b>Always throws IllegalStateException.</b>
*
@ -151,13 +151,13 @@ public class GenesisBlock extends Block {
*/
@Override
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!
* <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>
* <b>Always throws IllegalStateException.</b>
*
@ -165,13 +165,13 @@ public class GenesisBlock extends Block {
*/
@Override
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.
* <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[]
*/

Loading…
Cancel
Save