fix: schema for curse_type

This commit is contained in:
Rafael Cardenas
2023-06-28 21:15:57 -06:00
parent eaa6d7b640
commit 72d43c6b41

View File

@@ -46,7 +46,7 @@ export const BitcoinCursedInscriptionRevealedSchema = Type.Object({
ordinal_block_height: Type.Integer(),
ordinal_offset: Type.Integer(),
satpoint_post_inscription: Type.String(),
curse_type: Type.String(),
curse_type: Nullable(Type.Union([Type.String(), Type.Object({ tag: Type.Number() })])),
});
export type BitcoinCursedInscriptionRevealed = Static<
typeof BitcoinCursedInscriptionRevealedSchema