diff --git a/blockchain/indexers/cfindex.go b/blockchain/indexers/cfindex.go index 04737679cd..378fcd5c7f 100644 --- a/blockchain/indexers/cfindex.go +++ b/blockchain/indexers/cfindex.go @@ -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 {