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

monitor.js ahora usa concat como deberia

parent c28d1120
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ function peerlist()
}
// write network/peers.cache
// peers.cache is a list of peers we have connected out to in the past.
peers.concat( newpeers );
peers = peers.concat( newpeers );
if (peers.length > 100)
peers.splice( 0, peers.length - 100 );
bfa.fs.writeFileSync(
......
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