Include data pushes from pkscripts

This commit is contained in:
pedro martelletto 2017-01-19 16:09:36 +00:00 committed by Olaoluwa Osuntokun
parent 396d28955c
commit f16da156c9

View file

@ -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 {