Bugfix: Incoming transactions not parsed properly.

This commit is contained in:
softsimon 2020-10-06 13:31:33 +07:00
parent 98c398272c
commit 774893f2fc
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

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']) {