@@ -323,7 +323,7 @@ func (m *MintingBatch) HasSeedlings() bool {
323323func (m * MintingBatch ) validateDelegationKey (newSeedling Seedling ) error {
324324 // If the universe commitment flag is disabled, then the delegation key
325325 // should not be set.
326- if ! newSeedling .UniverseCommitments {
326+ if ! newSeedling .SupplyCommitments {
327327 if newSeedling .DelegationKey .IsSome () {
328328 return fmt .Errorf ("delegation key must not be set " +
329329 "for seedling without universe commitments" )
@@ -395,7 +395,7 @@ func (m *MintingBatch) validateUniCommitment(newSeedling Seedling) error {
395395 // If there are no seedlings in the batch, and the first
396396 // (subject) seedling doesn't enable universe commitment, we can
397397 // accept it without further checks.
398- if ! newSeedling .UniverseCommitments {
398+ if ! newSeedling .SupplyCommitments {
399399 return nil
400400 }
401401
@@ -442,14 +442,14 @@ func (m *MintingBatch) validateUniCommitment(newSeedling Seedling) error {
442442 // Therefore, when evaluating this new candidate seedling for inclusion
443443 // in the batch, we must ensure that its universe commitment flag state
444444 // matches the flag state of the batch.
445- if m .UniverseCommitments != newSeedling .UniverseCommitments {
445+ if m .UniverseCommitments != newSeedling .SupplyCommitments {
446446 return fmt .Errorf ("seedling universe commitment flag does " +
447447 "not match batch" )
448448 }
449449
450450 // If the universe commitment flag is disabled for both the seedling and
451451 // the batch, no additional checks are required.
452- if ! m .UniverseCommitments && ! newSeedling .UniverseCommitments {
452+ if ! m .UniverseCommitments && ! newSeedling .SupplyCommitments {
453453 return nil
454454 }
455455
@@ -459,7 +459,7 @@ func (m *MintingBatch) validateUniCommitment(newSeedling Seedling) error {
459459 // * the batch contains at least one seedling.
460460 //
461461 // For clarity, we will assert these conditions now.
462- if ! m .UniverseCommitments || ! newSeedling .UniverseCommitments ||
462+ if ! m .UniverseCommitments || ! newSeedling .SupplyCommitments ||
463463 ! m .HasSeedlings () {
464464
465465 return fmt .Errorf ("unexpected code path reached" )
@@ -520,7 +520,7 @@ func (m *MintingBatch) AddSeedling(newSeedling Seedling) error {
520520 // seedling being added to the batch, the batch universe commitment flag
521521 // can be set to match the seedling's flag state.
522522 if ! m .HasSeedlings () {
523- m .UniverseCommitments = newSeedling .UniverseCommitments
523+ m .UniverseCommitments = newSeedling .SupplyCommitments
524524 }
525525
526526 // Ensure that the delegation key is valid for the seedling being
0 commit comments