mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
ChainSplitTest: Use getGenesisBlock() getter
This is the only place where getGenesisBlock() is not being used.
This commit is contained in:
parent
0cb686481f
commit
34184f0949
@ -526,7 +526,7 @@ public class ChainSplitTest {
|
|||||||
|
|
||||||
// Receive some money to the wallet.
|
// Receive some money to the wallet.
|
||||||
Transaction t1 = FakeTxBuilder.createFakeTx(UNITTEST, COIN, coinsTo);
|
Transaction t1 = FakeTxBuilder.createFakeTx(UNITTEST, COIN, coinsTo);
|
||||||
final Block b1 = FakeTxBuilder.makeSolvedTestBlock(UNITTEST.genesisBlock, t1);
|
final Block b1 = FakeTxBuilder.makeSolvedTestBlock(UNITTEST.getGenesisBlock(), t1);
|
||||||
chain.add(b1);
|
chain.add(b1);
|
||||||
|
|
||||||
// Send a couple of payments one after the other (so the second depends on the change output of the first).
|
// Send a couple of payments one after the other (so the second depends on the change output of the first).
|
||||||
|
Loading…
Reference in New Issue
Block a user