Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BTC address param, use String for param value instead of long #1841

Merged
2 changes: 1 addition & 1 deletion core/src/main/java/bisq/core/util/BsqFormatter.java
Expand Up @@ -49,7 +49,7 @@ public class BsqFormatter extends BSFormatter {
private final MonetaryFormat btcCoinFormat;

@Inject
private BsqFormatter() {
public BsqFormatter() {
super();

btcCoinFormat = super.coinFormat;
Expand Down
Expand Up @@ -18,16 +18,18 @@
package bisq.core.dao.state;

import bisq.core.dao.state.blockchain.Block;
import org.junit.Test;
import bisq.core.util.BsqFormatter;

import org.junit.Assert;
import org.junit.Test;

public class DaoStateServiceTest {
@Test
public void testIsBlockHashKnown() {
DaoStateService stateService = new DaoStateService(
new DaoState(),
new GenesisTxInfo("fakegenesistxid", 100));
new GenesisTxInfo("fakegenesistxid", 100),
new BsqFormatter());
Assert.assertEquals(
"Unknown block should not exist.",
false,
Expand Down