http: minor.
This commit is contained in:
parent
f2a939de70
commit
19f0f42717
@ -662,8 +662,7 @@ HTTPServer.prototype.filterTX = function filterTX(socket, tx) {
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (!tx.isCoinbase()) {
|
if (!tx.isCoinbase()) {
|
||||||
for (let input of tx.inputs) {
|
for (let {prevout} of tx.inputs) {
|
||||||
let prevout = input.prevout;
|
|
||||||
if (socket.filter.test(prevout.toRaw()))
|
if (socket.filter.test(prevout.toRaw()))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user