What changed, and why it matters
A one-line fix in the Stack Wallet app changed the Xelis cryptocurrency network setup so that the 'stagenet' (a test-like network) uses the correct stagenet node address, instead of accidentally reusing the 'testnet' case. This appears to be a bug-fix for wallet network selection, not a security vulnerability. There is no evidence in the commit of malicious intent or a disclosed security issue.
Treat as a routine bug fix. Verify that all CryptoCurrencyNetwork enum values for Xelis (mainnet, test, stage, etc.) have distinct, correct NodeModel entries and that no other coins have similar copy-paste case mismatches. No urgent security response is indicated by this commit alone.
Security signals we found
Network node misconfiguration risk: using wrong node for a network could lead to connecting to an unintended chain/environment.
No input validation, authentication, or cryptographic changes present.
No vendor disclosure of security relevance in commit message or diff.
Evidence from the diff
The Dart file lib/wallets/crypto_currency/coins/xelis.dart had a switch/case mapping CryptoCurrencyNetwork values to NodeModel configurations. The case previously labeled CryptoCurrencyNetwork.test was corrected to CryptoCurrencyNetwork.stage, with the host stagenet-node.xelis.io:443. This suggests the stagenet network option was incorrectly falling through to or sharing the testnet branch, likely causing wrong node selection for Xelis stagenet. The change is a straightforward enum-case correction with no cryptographic, authentication, or input-validation changes visible in the diff.
Changed components
lib/wallets/crypto_currency/coins/xelis.dartXelis stagenet network node selectionInspect captured patch +1 / −1
diff --git a/lib/wallets/crypto_currency/coins/xelis.dart b/lib/wallets/crypto_currency/coins/xelis.dart
index d022082..2d946bc 100644
--- a/lib/wallets/crypto_currency/coins/xelis.dart
+++ b/lib/wallets/crypto_currency/coins/xelis.dart
@@ -83,7 +83,7 @@ class Xelis extends ElectrumCurrency {
isPrimary: isPrimary,
);
- case CryptoCurrencyNetwork.test:
+ case CryptoCurrencyNetwork.stage:
return NodeModel(
host: "stagenet-node.xelis.io",
port: 443,
Why this scored 26/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.