mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Include data pushes from pkscripts
This commit is contained in:
parent
396d28955c
commit
f16da156c9
@ -118,6 +118,9 @@ func makeBasicFilterForBlock(block *btcutil.Block) ([]byte, error) {
|
|||||||
for _, txIn := range tx.MsgTx().TxIn {
|
for _, txIn := range tx.MsgTx().TxIn {
|
||||||
b.AddOutPoint(txIn.PreviousOutPoint)
|
b.AddOutPoint(txIn.PreviousOutPoint)
|
||||||
}
|
}
|
||||||
|
for _, txOut := range tx.MsgTx().TxOut {
|
||||||
|
b.AddScript(txOut.PkScript)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
f, err := b.Build()
|
f, err := b.Build()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user