What changed, and why it matters
This commit makes two tiny user-interface changes: it shortens an error message so it doesn't show a full silent payment address, and it widens a dropdown box by 10 pixels. There is no security issue here.
No action required; this is a routine UI polish commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff contains two non-security changes. In ElectrumServer.java, a cancellation exception message is truncated to the first 10 characters of a silent payment address plus ellipsis, likely to avoid logging or displaying a long address. In settings.fxml, the policyType ComboBox prefWidth is changed from 160 to 170. Neither change alters logic, cryptography, network behavior, or access control.
Changed components
src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.javasrc/main/resources/com/sparrowwallet/sparrow/wallet/settings.fxmlInspect captured patch +2 / −2
diff --git a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java
index 729caa7..6671e43 100644
--- a/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java
+++ b/src/main/java/com/sparrowwallet/sparrow/net/ElectrumServer.java
@@ -1529,7 +1529,7 @@ public class ElectrumServer {
}
}
if(cache.isCancelled()) {
- throw new ServerException("Silent payments scan was cancelled for " + spAddress);
+ throw new ServerException("Silent payments scan was cancelled for " + spAddress.substring(0, 10) + "...");
}
return cache.snapshotEntries();
} finally {
diff --git a/src/main/resources/com/sparrowwallet/sparrow/wallet/settings.fxml b/src/main/resources/com/sparrowwallet/sparrow/wallet/settings.fxml
index 09ac76b..927e753 100644
--- a/src/main/resources/com/sparrowwallet/sparrow/wallet/settings.fxml
+++ b/src/main/resources/com/sparrowwallet/sparrow/wallet/settings.fxml
@@ -32,7 +32,7 @@
<Form GridPane.columnIndex="0" GridPane.rowIndex="0">
<Fieldset inputGrow="SOMETIMES" text="Settings" styleClass="header">
<Field text="Policy Type:">
- <ComboBox fx:id="policyType" prefWidth="160">
+ <ComboBox fx:id="policyType" prefWidth="170">
<items>
<FXCollections fx:factory="observableArrayList">
<PolicyType fx:constant="SINGLE_HD" />
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.