mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +00:00
rename wallet files to haveno_*
This commit is contained in:
parent
584b3c90ae
commit
c96c0629ce
2 changed files with 6 additions and 6 deletions
|
@ -654,7 +654,7 @@ public class WalletConfig extends AbstractIdleService {
|
|||
// Do a backup of the wallet
|
||||
File backup = new File(directory, WalletsSetup.PRE_SEGWIT_WALLET_BACKUP);
|
||||
try {
|
||||
FileUtil.copyFile(new File(directory, "bisq_BTC.wallet"), backup);
|
||||
FileUtil.copyFile(new File(directory, "haveno_BTC.wallet"), backup);
|
||||
} catch (IOException e) {
|
||||
log.error(e.toString(), e);
|
||||
}
|
||||
|
|
|
@ -114,14 +114,14 @@ import monero.wallet.MoneroWallet;
|
|||
@Slf4j
|
||||
public class WalletsSetup {
|
||||
|
||||
public static final String PRE_SEGWIT_WALLET_BACKUP = "pre_segwit_bisq_BTC.wallet.backup";
|
||||
public static final String PRE_SEGWIT_WALLET_BACKUP = "pre_segwit_haveno_BTC.wallet.backup";
|
||||
|
||||
@Getter
|
||||
public final BooleanProperty walletsSetupFailed = new SimpleBooleanProperty();
|
||||
|
||||
private static final long STARTUP_TIMEOUT = 180;
|
||||
private static final String BSQ_WALLET_FILE_NAME = "bisq_BSQ.wallet";
|
||||
private static final String SPV_CHAIN_FILE_NAME = "bisq.spvchain";
|
||||
private static final String BSQ_WALLET_FILE_NAME = "haveno_BSQ.wallet";
|
||||
private static final String SPV_CHAIN_FILE_NAME = "haveno.spvchain";
|
||||
|
||||
private final RegTestHost regTestHost;
|
||||
private final AddressEntryList addressEntryList;
|
||||
|
@ -179,7 +179,7 @@ public class WalletsSetup {
|
|||
this.socks5DiscoverMode = evaluateMode(socks5DiscoverModeString);
|
||||
this.walletDir = walletDir;
|
||||
|
||||
xmrWalletFileName = "bisq_" + config.baseCurrencyNetwork.getCurrencyCode();
|
||||
xmrWalletFileName = "haveno_" + config.baseCurrencyNetwork.getCurrencyCode();
|
||||
params = Config.baseCurrencyNetworkParameters();
|
||||
PeerGroup.setIgnoreHttpSeeds(true);
|
||||
}
|
||||
|
@ -210,7 +210,7 @@ public class WalletsSetup {
|
|||
|
||||
walletConfig = new WalletConfig(params,
|
||||
walletDir,
|
||||
"bisq") {
|
||||
"haveno") {
|
||||
@Override
|
||||
protected void onSetupCompleted() {
|
||||
//We are here in the btcj thread Thread[ STARTING,5,main]
|
||||
|
|
Loading…
Reference in a new issue