mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-20 15:30:36 -04:00
replace LocalBitcoinNode with LocalMoneroNode
This commit is contained in:
parent
d50ab5782b
commit
740374c9db
28 changed files with 92 additions and 169 deletions
|
@ -19,13 +19,13 @@ package haveno.core.user;
|
|||
|
||||
import haveno.common.config.Config;
|
||||
import haveno.common.persistence.PersistenceManager;
|
||||
import haveno.core.api.LocalMoneroNode;
|
||||
import haveno.core.locale.CountryUtil;
|
||||
import haveno.core.locale.CryptoCurrency;
|
||||
import haveno.core.locale.CurrencyUtil;
|
||||
import haveno.core.locale.TraditionalCurrency;
|
||||
import haveno.core.locale.GlobalSettings;
|
||||
import haveno.core.locale.Res;
|
||||
import haveno.core.xmr.nodes.LocalBitcoinNode;
|
||||
import javafx.collections.ObservableList;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
@ -56,9 +56,9 @@ public class PreferencesTest {
|
|||
|
||||
persistenceManager = mock(PersistenceManager.class);
|
||||
Config config = new Config();
|
||||
LocalBitcoinNode localBitcoinNode = new LocalBitcoinNode(config);
|
||||
LocalMoneroNode localMoneroNode = new LocalMoneroNode(config, preferences);
|
||||
preferences = new Preferences(
|
||||
persistenceManager, config, localBitcoinNode, null);
|
||||
persistenceManager, config, null);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue