touchup
This commit is contained in:
2
pool.js
2
pool.js
@@ -27,7 +27,7 @@ export async function subOHLCs( socket, chainId, poolPeriods) {
|
|||||||
console.log('got ohlc', ohlc)
|
console.log('got ohlc', ohlc)
|
||||||
if (typeof(ohlc)==='string') {
|
if (typeof(ohlc)==='string') {
|
||||||
ohlc = JSON.parse(ohlc)
|
ohlc = JSON.parse(ohlc)
|
||||||
}
|
}
|
||||||
socket.emit('ohlc', chainId, key, ohlc)
|
socket.emit('ohlc', chainId, key, ohlc)
|
||||||
console.log('joined room', room)
|
console.log('joined room', room)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user