mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-20 23:56:30 -04:00
Fix withdrawal bug
This commit is contained in:
parent
7c8a8dffcd
commit
39509b91c8
@ -133,6 +133,10 @@ class AddressBasedCoinSelector extends DefaultCoinSelector {
|
||||
if (transactionOutput.getScriptPubKey().isSentToAddress() || transactionOutput.getScriptPubKey().isSentToP2SH
|
||||
()) {
|
||||
Address addressOutput = transactionOutput.getScriptPubKey().getToAddress(params);
|
||||
log.trace("matchesRequiredAddress?");
|
||||
log.trace(addressOutput.toString());
|
||||
log.trace(addressEntry.getAddress().toString());
|
||||
|
||||
if (addressEntry != null && addressOutput.equals(addressEntry.getAddress())) {
|
||||
return true;
|
||||
}
|
||||
|
@ -123,8 +123,9 @@ public class PendingTradesViewCB extends CachedViewCB<PendingTradesPM> {
|
||||
selectedItemChangeListener = (obsValue, oldValue, newValue) -> {
|
||||
if (oldValue != null && newValue != null)
|
||||
presentationModel.selectTrade(newValue);
|
||||
else if (newValue == null)
|
||||
table.getSelectionModel().clearSelection();
|
||||
// TODO only clearSelection when there are more at least one remaining trades
|
||||
/* else if (newValue == null)
|
||||
table.getSelectionModel().clearSelection();*/
|
||||
};
|
||||
|
||||
listChangeListener = change -> {
|
||||
|
@ -282,6 +282,10 @@ public class BootstrappedPeerFactory {
|
||||
|
||||
private void bootstrapWithRelay(PeerDHT peerDHT) {
|
||||
|
||||
PeerAddress upa = peerDHT.peerBean().serverPeerAddress();
|
||||
upa = upa.changeFirewalledTCP(true).changeFirewalledUDP(true);
|
||||
peerDHT.peerBean().serverPeerAddress(upa);
|
||||
|
||||
PeerNAT peerNAT = new PeerBuilderNAT(peerDHT.peer()).start();
|
||||
FutureRelayNAT futureRelayNAT = peerNAT.startRelay(getBootstrapAddress());
|
||||
|
||||
|
@ -57,8 +57,8 @@ public class SeedNodeAddress {
|
||||
public enum StaticSeedNodeAddresses {
|
||||
// Manfreds server: "188.226.179.109"
|
||||
// Steves server: "128.199.251.106"
|
||||
DIGITAL_OCEAN1("digitalocean1.bitsquare.io", "188.226.179.109", 5000),
|
||||
DIGITAL_OCEAN2("digitalocean2.bitsquare.io", "128.199.251.106", 5000);
|
||||
DIGITAL_OCEAN1("digitalocean1.bitsquare.io", "188.226.179.109", 5000);
|
||||
// DIGITAL_OCEAN2("digitalocean2.bitsquare.io", "128.199.251.106", 5000);
|
||||
//LOCALHOST("localhost", "127.0.0.1", 5000);
|
||||
|
||||
private final String id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user