Skip to content

Commit 95572fc

Browse files
committed
Linting files
No changes to the logic, just linting.
1 parent cf5c88e commit 95572fc

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

example/example.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ async function main() {
44
const client = new ElectrumClient(
55
'electrum.bitaroo.net',
66
50002,
7-
'ssl'
7+
'ssl',
88
)
99

1010
try {
1111
await client.connect(
1212
'electrum-client-js', // optional client name
13-
'1.4.2' // optional protocol version
13+
'1.4.2', // optional protocol version
1414
)
1515

1616
const header = await client.blockchain_headers_subscribe()

src/electrum/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ElectrumClient extends SocketClient {
7575
}
7676
},
7777
keepAliveInterval,
78-
this // pass this context as an argument to function
78+
this, // pass this context as an argument to function
7979
)
8080
}
8181
}

src/socket/socket_client_ws.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class WebSocketClient {
2222
undefined,
2323
undefined,
2424
undefined,
25-
this.options
25+
this.options,
2626
)
2727

2828
this.client = client

0 commit comments

Comments
 (0)