diff --git a/app.js b/app.js index e969d10a..4c084e3d 100644 --- a/app.js +++ b/app.js @@ -144,7 +144,7 @@ io.on('connection', (socket) => { if(decoded === 'rawtx') { let network = {'pubKeyHash': 0x00, 'scriptHash': 0x05}; let txd = new TxDecoder(message, network); - io.emit('rawtx', JSON.stringify(txd.toObject(), null, 2)); + io.emit('transactions', JSON.stringify(txd.toObject(), null, 2)); } else if(decoded === 'rawblock') { } });