mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Fix missing parm in GenesisTxInfo constructor in test
This commit is contained in:
parent
41d5fc5395
commit
a3eed2b82d
@ -21,6 +21,8 @@ import bisq.core.dao.state.model.DaoState;
|
|||||||
import bisq.core.dao.state.model.blockchain.Block;
|
import bisq.core.dao.state.model.blockchain.Block;
|
||||||
import bisq.core.util.BsqFormatter;
|
import bisq.core.util.BsqFormatter;
|
||||||
|
|
||||||
|
import org.bitcoinj.core.Coin;
|
||||||
|
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
@ -29,7 +31,7 @@ public class DaoStateServiceTest {
|
|||||||
public void testIsBlockHashKnown() {
|
public void testIsBlockHashKnown() {
|
||||||
DaoStateService stateService = new DaoStateService(
|
DaoStateService stateService = new DaoStateService(
|
||||||
new DaoState(),
|
new DaoState(),
|
||||||
new GenesisTxInfo("fakegenesistxid", 100),
|
new GenesisTxInfo("fakegenesistxid", 100, Coin.parseCoin("2.5").value),
|
||||||
new BsqFormatter());
|
new BsqFormatter());
|
||||||
Assert.assertEquals(
|
Assert.assertEquals(
|
||||||
"Unknown block should not exist.",
|
"Unknown block should not exist.",
|
||||||
|
Loading…
Reference in New Issue
Block a user