Skip to content

Commit 3d966c8

Browse files
committed
itest: actually mint second tranche into existing group
Turns out we didn't really set up the group minting request properly to mint into an existing group. Before this change we'd simply mint a completely new group, using the same external key.
1 parent 9ec0c8d commit 3d966c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

itest/mint_fund_seal_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,9 @@ func testMintExternalGroupKeyChantools(t *harnessTest) {
577577
mintReq2 := CopyRequest(issuableAssets[0])
578578
mintReq2.Asset.Name = "itestbuxx-money-printer-brrr-tranche-2"
579579
mintReq2.Asset.ExternalGroupKey = externalGroupKey
580+
mintReq2.Asset.GroupedAsset = true
581+
mintReq2.Asset.NewGroupedAsset = false
582+
mintReq2.Asset.GroupKey = batchAssets[0].AssetGroup.TweakedGroupKey
580583

581584
assetReqs2 := []*mintrpc.MintAssetRequest{mintReq2}
582585

0 commit comments

Comments
 (0)