mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 01:36:56 +01:00
small fix: removed ';'
This commit is contained in:
parent
6d5224601f
commit
c46dde75ee
@ -469,9 +469,9 @@ All transactions are printed to the console. To use this piece of code, you will
|
||||
|
||||
.. code-block:: js
|
||||
|
||||
const WebSocket = require('ws');
|
||||
const WebSocket = require('ws')
|
||||
|
||||
const ws = new WebSocket('ws://localhost:9985/api/v1/streams/valid_transactions');
|
||||
const ws = new WebSocket('ws://localhost:9985/api/v1/streams/valid_transactions')
|
||||
|
||||
ws.on('open', () => {
|
||||
console.log("CONNECTED")
|
||||
|
Loading…
Reference in New Issue
Block a user