Skip to content

Commit f07ce01

Browse files
committed
itest: limit asset list when finalizing mint batch
Addresses a similar problem as was observed and fixed in the previous commit. In this case we were again listing all assets known about, instead of only the unconfirmed ones we're actually interested in.
1 parent edd52b3 commit f07ce01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

itest/utils.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,9 @@ func FinalizeBatchUnconfirmed(t *testing.T, minerClient *rpcclient.Client,
453453
ctxt, &taprpc.ListAssetRequest{
454454
IncludeUnconfirmedMints: true,
455455
ScriptKeyType: allScriptKeysQuery,
456+
AnchorOutpoint: &taprpc.OutPoint{
457+
Txid: hashes[0][:],
458+
},
456459
},
457460
)
458461
require.NoError(t, err)

0 commit comments

Comments
 (0)