Skip to content
Snippets Groups Projects
Commit f1e97700 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Off by one

parent 5177801f
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ function dnspeercachelookup()
var enode = json.Answer[i].data;
// strip quotes
if ( enode.substring(0,1) == '"' && enode.substring(enode.length-1) == '"' )
enode = enode.substring(1,enode.length-2);
enode = enode.substring(1,enode.length-1);
console.log(
"We have no peers, so will try to connect to "
+ enode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment