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! * 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…
Cancel
Save