mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 14:22:45 +01:00
UnitTestParams: don't solve()
the genesis block for unit tests
It won't really solve it anyway, because the difficulty check is disabled.
This commit is contained in:
parent
9a747e6e96
commit
4ab6e88560
1 changed files with 0 additions and 1 deletions
|
@ -76,7 +76,6 @@ public class UnitTestParams extends BitcoinNetworkParams {
|
|||
genesisBlock = Block.createGenesis();
|
||||
genesisBlock.setDifficultyTarget(Block.EASIEST_DIFFICULTY_TARGET);
|
||||
genesisBlock.setTime(TimeUtils.currentTime());
|
||||
genesisBlock.solve();
|
||||
}
|
||||
}
|
||||
return genesisBlock;
|
||||
|
|
Loading…
Add table
Reference in a new issue