http: minor.

This commit is contained in:
Christopher Jeffrey 2017-07-09 17:40:51 -07:00
parent f2a939de70
commit 19f0f42717
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -662,8 +662,7 @@ HTTPServer.prototype.filterTX = function filterTX(socket, tx) {
return true;
if (!tx.isCoinbase()) {
for (let input of tx.inputs) {
let prevout = input.prevout;
for (let {prevout} of tx.inputs) {
if (socket.filter.test(prevout.toRaw()))
return true;
}