From f4fa19bee68b0fb30895cce43766487a0ce16ab3 Mon Sep 17 00:00:00 2001 From: ffranr Date: Wed, 16 Aug 2023 16:08:14 +0100 Subject: [PATCH] universe: allow registering non-issuance proofs in universe/multiverse --- universe/base.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/universe/base.go b/universe/base.go index e6a20d853..dd81201ad 100644 --- a/universe/base.go +++ b/universe/base.go @@ -213,14 +213,6 @@ func (a *MintingArchive) RegisterIssuance(ctx context.Context, id Identifier, return nil, fmt.Errorf("asset id mismatch: expected %v, got %v", id.AssetID, newAsset.ID()) - // The outpoint of the final resting place of the asset should match - // the leaf key - // - // TODO(roasbeef): this restrict to issuance - case assetSnapshot.OutPoint != key.MintingOutpoint: - return nil, fmt.Errorf("outpoint mismatch: expected %v, got %v", - key.MintingOutpoint, assetSnapshot.OutPoint) - // The script key should also match exactly. case !newAsset.ScriptKey.PubKey.IsEqual(key.ScriptKey.PubKey): return nil, fmt.Errorf("script key mismatch: expected %v, "+