diff --git a/tapdb/asset_minting.go b/tapdb/asset_minting.go index 5c22a36dc..33f1e75a5 100644 --- a/tapdb/asset_minting.go +++ b/tapdb/asset_minting.go @@ -1203,6 +1203,9 @@ func marshalMintingBatch(ctx context.Context, q PendingAssetStore, batch.RootAssetCommitment, err = fetchAssetSprouts( ctx, q, dbBatch.RawKey, tapscriptSibling, genesisScript, ) + if err != nil { + return nil, err + } // Finally, for each asset contained in the root // commitment above, we'll fetch the meta reveal for