File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,17 @@ func testMintBatchResume(t *harnessTest) {
174
174
175
175
// Build one batch, but leave it as pending.
176
176
BuildMintingBatch (t .t , t .tapd , simpleAssets )
177
- batchResp , err := t .tapd .ListBatches (ctxt , & mintrpc.ListBatchRequest {})
177
+
178
+ // The batch is pending and unfunded, so the verbose batch listing
179
+ // should return an empty list. An anchor transaction (BTC funding) is
180
+ // required for verbose listing to include group key requests.
181
+ batchResp , err := t .tapd .ListBatches (ctxt , & mintrpc.ListBatchRequest {
182
+ Verbose : true ,
183
+ })
184
+ require .NoError (t .t , err )
185
+ require .Empty (t .t , batchResp .Batches )
186
+
187
+ batchResp , err = t .tapd .ListBatches (ctxt , & mintrpc.ListBatchRequest {})
178
188
require .NoError (t .t , err )
179
189
require .Len (t .t , batchResp .Batches , 1 )
180
190
t .Logf ("batches: %v" , toJSON (t .t , batchResp ))
You can’t perform that action at this time.
0 commit comments