Skip to content

Commit

Permalink
Include data pushes from pkscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
martelletto authored and Roasbeef committed May 23, 2018
1 parent 396d289 commit f16da15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions blockchain/indexers/cfindex.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f16da15

Please sign in to comment.