Include data pushes from pkscripts
This commit is contained in:
parent
396d28955c
commit
f16da156c9
1 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,9 @@ func makeBasicFilterForBlock(block *btcutil.Block) ([]byte, error) {
|
|||
for _, txIn := range tx.MsgTx().TxIn {
|
||||
b.AddOutPoint(txIn.PreviousOutPoint)
|
||||
}
|
||||
for _, txOut := range tx.MsgTx().TxOut {
|
||||
b.AddScript(txOut.PkScript)
|
||||
}
|
||||
}
|
||||
f, err := b.Build()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue