Skip to content

Commit

Permalink
Not rely on the default configuration of the base currency network
Browse files Browse the repository at this point in the history
  • Loading branch information
ripcurlx committed May 5, 2021
1 parent b299e73 commit bf756b4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import bisq.asset.AssetRegistry;

import bisq.common.config.BaseCurrencyNetwork;
import bisq.common.config.Config;

import org.junit.Test;

Expand All @@ -36,7 +35,7 @@ public class AltCoinAddressValidatorTest {
public void test() {
AltCoinAddressValidator validator = new AltCoinAddressValidator(new AssetRegistry());

BaseCurrencyNetwork baseCurrencyNetwork = Config.baseCurrencyNetwork();
BaseCurrencyNetwork baseCurrencyNetwork = BaseCurrencyNetwork.BTC_MAINNET;
String currencyCode = baseCurrencyNetwork.getCurrencyCode();
Res.setBaseCurrencyCode(currencyCode);
Res.setBaseCurrencyName(baseCurrencyNetwork.getCurrencyName());
Expand Down

0 comments on commit bf756b4

Please sign in to comment.