Skip to content
Snippets Groups Projects
Commit 04a3e2f6 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix #246 prefer to use DNS instead of IPv4 and IPv6

parent e98258fe
Branches
Tags
No related merge requests found
......@@ -131,7 +131,7 @@ function Peer(json) {
};
that.connect = function (done){
vucoin(that.getIPv6() || that.getIPv4() || that.getDns(), that.getPort(), done, {
vucoin(that.getDns() || that.getIPv6() || that.getIPv4(), that.getPort(), done, {
timeout: 2000
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment