gcs: properly only use hash of pkscript to insert into filter
This commit fixes a mistake during the rebase process meant to include
this commit in its entire:
dfb640c571
This commit is contained in:
parent
45edb4b6e5
commit
d4cc87b860
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ func BuildBasicFilter(block *wire.MsgBlock) (*gcs.Filter, error) {
|
|||
// For each output in a transaction, we'll add each of the
|
||||
// individual data pushes within the script.
|
||||
for _, txOut := range tx.TxOut {
|
||||
b.AddScript(txOut.PkScript)
|
||||
b.AddEntry(txOut.PkScript)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue