3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-01 07:42:17 +00:00

Revert "Copied genesis transaction output from ravencoinj"

This reverts commit a5755908f0.
This commit is contained in:
CalDescent 2022-04-23 17:22:09 +01:00
parent a5755908f0
commit 714779ee1d

View File

@ -32,7 +32,6 @@ import java.io.ByteArrayOutputStream;
import java.util.Arrays;
import static com.google.common.base.Preconditions.checkState;
import static org.bitcoinj.core.Coin.FIFTY_COINS;
/**
* Parameters for the Ravencoin main production network on which people trade
@ -101,7 +100,7 @@ public class RavencoinMainNetParams extends AbstractRavencoinParams {
ByteArrayOutputStream scriptPubKeyBytes = new ByteArrayOutputStream();
Script.writeBytes(scriptPubKeyBytes, Utils.HEX.decode("04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f"));
scriptPubKeyBytes.write(ScriptOpCodes.OP_CHECKSIG);
t.addOutput(new TransactionOutput(params, t, FIFTY_COINS, scriptPubKeyBytes.toByteArray()));
t.addOutput(new TransactionOutput(params, t, Coin.valueOf(5000, 0), scriptPubKeyBytes.toByteArray()));
} catch (Exception e) {
// Cannot happen.
throw new RuntimeException(e);