diff --git a/proof/courier.go b/proof/courier.go index f81df1c22..1d1d20cba 100644 --- a/proof/courier.go +++ b/proof/courier.go @@ -1072,9 +1072,7 @@ func (c *UniverseRpcCourier) ReceiveProof(ctx context.Context, // Break if we've reached the genesis point (the asset is the // genesis asset). asset := transitionProof.Asset - if asset.HasGenesisWitness() || - asset.HasGenesisWitnessForGroup() { - + if asset.IsGenesisAsset() { break } diff --git a/proof/verifier.go b/proof/verifier.go index 9c7f2cf9a..098a1ac17 100644 --- a/proof/verifier.go +++ b/proof/verifier.go @@ -454,8 +454,7 @@ func (p *Proof) Verify(ctx context.Context, prev *AssetSnapshot, // 5. If this is a genesis asset, start by verifying the // genesis reveal, which should be present for genesis assets. // Non-genesis assets must not have a genesis or meta reveal. - isGenesisAsset := p.Asset.HasGenesisWitness() || - p.Asset.HasGenesisWitnessForGroup() + isGenesisAsset := p.Asset.IsGenesisAsset() hasGenesisReveal := p.GenesisReveal != nil hasMetaReveal := p.MetaReveal != nil diff --git a/universe/base.go b/universe/base.go index 542ee5c1e..e0cf84547 100644 --- a/universe/base.go +++ b/universe/base.go @@ -404,9 +404,7 @@ func (a *MintingArchive) getPrevAssetSnapshot(ctx context.Context, // If this is a genesis proof, then there is no previous asset (and // therefore no previous asset snapshot). - if newProof.Asset.HasGenesisWitness() || - newProof.Asset.HasGenesisWitnessForGroup() { - + if newProof.Asset.IsGenesisAsset() { return nil, nil }