mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-05 05:46:44 +00:00
add stacktrace on null node
This commit is contained in:
parent
9f5eb41d90
commit
a7a3ad012c
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ public class ElectrumServer {
|
||||||
Map<String, String> pathScriptHashes = new LinkedHashMap<>();
|
Map<String, String> pathScriptHashes = new LinkedHashMap<>();
|
||||||
for(WalletNode node : nodes) {
|
for(WalletNode node : nodes) {
|
||||||
if(node == null) {
|
if(node == null) {
|
||||||
log.error("Null node for wallet " + wallet.getName() + " subscribing nodes " + nodes + " startIndex " + startIndex);
|
log.error("Null node for wallet " + wallet.getName() + " subscribing nodes " + nodes + " startIndex " + startIndex, new Throwable());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(node != null && node.getIndex() >= startIndex) {
|
if(node != null && node.getIndex() >= startIndex) {
|
||||||
|
|
Loading…
Reference in a new issue