Bugfix: Incoming transactions not parsed properly.

This commit is contained in:
softsimon 2020-10-06 13:31:33 +07:00
parent 2c19c54d71
commit 96b3419227

View File

@ -151,7 +151,7 @@ class WebsocketHandler {
if (client['want-stats']) {
response['mempoolInfo'] = mempoolInfo;
response['vBytesPerSecond'] = vBytesPerSecond;
response['transactions'] = newTransactions.splice(0, 6).map((tx) => Common.stripTransaction(tx));
response['transactions'] = newTransactions.slice(0, 6).map((tx) => Common.stripTransaction(tx));
}
if (client['want-mempool-blocks']) {