Fix missing parm in GenesisTxInfo constructor in test

This commit is contained in:
Manfred Karrer 2019-03-16 19:00:51 -05:00
parent 41d5fc5395
commit a3eed2b82d
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46

View File

@ -21,6 +21,8 @@ import bisq.core.dao.state.model.DaoState;
import bisq.core.dao.state.model.blockchain.Block;
import bisq.core.util.BsqFormatter;
import org.bitcoinj.core.Coin;
import org.junit.Assert;
import org.junit.Test;
@ -29,7 +31,7 @@ public class DaoStateServiceTest {
public void testIsBlockHashKnown() {
DaoStateService stateService = new DaoStateService(
new DaoState(),
new GenesisTxInfo("fakegenesistxid", 100),
new GenesisTxInfo("fakegenesistxid", 100, Coin.parseCoin("2.5").value),
new BsqFormatter());
Assert.assertEquals(
"Unknown block should not exist.",