@@ -107,7 +107,9 @@ func (c *ChainSync) Start() error {
107
107
for _ , filterAddress := range c .filterAddresses {
108
108
isStakeAddress := strings .HasPrefix (filterAddress , "stake" )
109
109
foundMatch := false
110
- for _ , output := range v .Outputs {
110
+ // Include resolved inputs as outputs for matching
111
+ allOutputs := append (v .Outputs , v .ResolvedInputs ... )
112
+ for _ , output := range allOutputs {
111
113
if output .Address ().String () == filterAddress {
112
114
foundMatch = true
113
115
break
@@ -138,7 +140,9 @@ func (c *ChainSync) Start() error {
138
140
filterMatched := false
139
141
for _ , filterPolicyId := range c .filterPolicyIds {
140
142
foundMatch := false
141
- for _ , output := range v .Outputs {
143
+ // Include resolved inputs as outputs for matching
144
+ allOutputs := append (v .Outputs , v .ResolvedInputs ... )
145
+ for _ , output := range allOutputs {
142
146
if output .Assets () != nil {
143
147
for _ , policyId := range output .Assets ().Policies () {
144
148
if policyId .String () == filterPolicyId {
@@ -166,7 +170,9 @@ func (c *ChainSync) Start() error {
166
170
filterMatched := false
167
171
for _ , filterAssetFingerprint := range c .filterAssetFingerprints {
168
172
foundMatch := false
169
- for _ , output := range v .Outputs {
173
+ // Include resolved inputs as outputs for matching
174
+ allOutputs := append (v .Outputs , v .ResolvedInputs ... )
175
+ for _ , output := range allOutputs {
170
176
if output .Assets () != nil {
171
177
for _ , policyId := range output .Assets ().Policies () {
172
178
for _ , assetName := range output .Assets ().Assets (policyId ) {
0 commit comments