Compare commits

...

1 Commits

Author SHA1 Message Date
Gaze
361a3acfa4 fix: incorrect condition for finding output destinations 2024-07-08 13:34:04 +07:00

View File

@@ -146,7 +146,7 @@ func (p *Processor) processTx(ctx context.Context, tx *types.Transaction, blockH
// find all non-OP_RETURN outputs
var destinations []int
for i, txOut := range tx.TxOut {
if txOut.IsOpReturn() {
if !txOut.IsOpReturn() {
destinations = append(destinations, i)
}
}