gcs/builder: Omit all OP_RETURN scripts from basic filter.
This commit is contained in:
parent
bf1e1be935
commit
4c204d6978
1 changed files with 1 additions and 2 deletions
|
@ -320,8 +320,7 @@ func BuildBasicFilter(block *wire.MsgBlock, prevOutScripts [][]byte) (*gcs.Filte
|
||||||
// In order to allow the filters to later be committed
|
// In order to allow the filters to later be committed
|
||||||
// to within an OP_RETURN output, we ignore all
|
// to within an OP_RETURN output, we ignore all
|
||||||
// OP_RETURNs to avoid a circular dependency.
|
// OP_RETURNs to avoid a circular dependency.
|
||||||
if txOut.PkScript[0] == txscript.OP_RETURN &&
|
if txOut.PkScript[0] == txscript.OP_RETURN {
|
||||||
txscript.IsPushOnlyScript(txOut.PkScript[1:]) {
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue