http: minor.
This commit is contained in:
parent
f2a939de70
commit
19f0f42717
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user