mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Minor bug fixes for XMR tx proof feature
Fix missing CSS color code xmr-orange, was missing from dark mode. Fix log message spelling/typo errors. Removed 2 fixes from SellerStep3View so that chimp1984 can make changes. Remove address validator from XMR service address settings because it does not support https prefix.
This commit is contained in:
parent
cafbbdf94c
commit
f49aa0f674
@ -199,7 +199,7 @@ class XmrTxProofRequest implements AssetTxProofRequest<XmrTxProofRequest.Result>
|
||||
String prettyJson = new GsonBuilder().setPrettyPrinting().create().toJson(new JsonParser().parse(json));
|
||||
log.info("Response json from {}\n{}", this, prettyJson);
|
||||
} catch (Throwable error) {
|
||||
log.error("Pretty rint caused a {}}: raw josn={}", error, json);
|
||||
log.error("Pretty print caused a {}: raw json={}", error, json);
|
||||
}
|
||||
|
||||
Result result = parser.parse(model, json);
|
||||
|
@ -667,13 +667,11 @@ public class PreferencesView extends ActivatableViewAndModel<GridPane, Preferenc
|
||||
autoConfTradeLimitTf.setValidator(new BtcValidator(formatter));
|
||||
|
||||
autoConfServiceAddressTf = addInputTextField(autoConfirmGridPane, ++localRowIndex, Res.get("setting.preferences.autoConfirmServiceAddresses"));
|
||||
autoConfServiceAddressTf.setValidator(GUIUtil.addressRegexValidator());
|
||||
autoConfServiceAddressTf.setErrorMessage(Res.get("validation.invalidAddressList"));
|
||||
GridPane.setHgrow(autoConfServiceAddressTf, Priority.ALWAYS);
|
||||
displayCurrenciesGridRowIndex += 4;
|
||||
|
||||
autoConfServiceAddressListener = (observable, oldValue, newValue) -> {
|
||||
if (!newValue.equals(oldValue) && autoConfServiceAddressTf.getValidator().validate(newValue).isValid) {
|
||||
if (!newValue.equals(oldValue)) {
|
||||
List<String> serviceAddresses = Arrays.asList(StringUtils.deleteWhitespace(newValue).split(","));
|
||||
// revert to default service providers when user empties the list
|
||||
if (serviceAddresses.size() == 1 && serviceAddresses.get(0).isEmpty()) {
|
||||
|
@ -139,6 +139,9 @@
|
||||
/* dao chart colors */
|
||||
-bs-chart-dao-line1: -bs-color-green-5;
|
||||
-bs-chart-dao-line2: -bs-color-blue-2;
|
||||
|
||||
/* Monero orange color code */
|
||||
-xmr-orange: #f26822;
|
||||
}
|
||||
|
||||
/* table view */
|
||||
|
@ -268,7 +268,7 @@ public class TorNetworkNode extends NetworkNode {
|
||||
hiddenServiceSocket.addReadyListener(socket -> {
|
||||
try {
|
||||
log.info("\n################################################################\n" +
|
||||
"Tor hidden service published after {} ms. Socked={}\n" +
|
||||
"Tor hidden service published after {} ms. Socket={}\n" +
|
||||
"################################################################",
|
||||
(new Date().getTime() - ts2), socket); //takes usually 30-40 sec
|
||||
new Thread() {
|
||||
|
Loading…
Reference in New Issue
Block a user