diff --git a/connect.js b/connect.js index 4c13285..10c2e30 100644 --- a/connect.js +++ b/connect.js @@ -1,5 +1,7 @@ +"use strict"; + // See https://dashplatform.readme.io/docs/tutorial-connecting-to-testnet -const Dash = require('dash'); +const Dash = require("dash"); const client = new Dash.Client(); @@ -8,6 +10,6 @@ async function connect() { } connect() - .then((d) => console.log('Connected. Best block hash:\n', d)) - .catch((e) => console.error('Something went wrong:\n', e)) - .finally(() => client.disconnect()); \ No newline at end of file + .then((d) => console.log("Connected. Best block hash:\n", d)) + .catch((e) => console.error("Something went wrong:\n", e)) + .finally(() => client.disconnect());