Fix explorer mint account validator to accept null owner (#11587)
This commit is contained in:
parent
5715f0b81a
commit
cbccac90ce
|
@ -110,7 +110,7 @@ function MintAccountCard({
|
||||||
<td className="text-lg-right">Uninitialized</td>
|
<td className="text-lg-right">Uninitialized</td>
|
||||||
</tr>
|
</tr>
|
||||||
)}
|
)}
|
||||||
{info.owner !== undefined && (
|
{info.owner && (
|
||||||
<tr>
|
<tr>
|
||||||
<td>Owner</td>
|
<td>Owner</td>
|
||||||
<td className="text-lg-right">
|
<td className="text-lg-right">
|
||||||
|
|
|
@ -38,7 +38,7 @@ export type MintAccountInfo = StructType<typeof MintAccountInfo>;
|
||||||
export const MintAccountInfo = object({
|
export const MintAccountInfo = object({
|
||||||
decimals: number(),
|
decimals: number(),
|
||||||
isInitialized: boolean(),
|
isInitialized: boolean(),
|
||||||
owner: optional(Pubkey),
|
owner: nullable(optional(Pubkey)),
|
||||||
});
|
});
|
||||||
|
|
||||||
export type MultisigAccountInfo = StructType<typeof MultisigAccountInfo>;
|
export type MultisigAccountInfo = StructType<typeof MultisigAccountInfo>;
|
||||||
|
|
Loading…
Reference in New Issue