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>
|
||||
</tr>
|
||||
)}
|
||||
{info.owner !== undefined && (
|
||||
{info.owner && (
|
||||
<tr>
|
||||
<td>Owner</td>
|
||||
<td className="text-lg-right">
|
||||
|
|
|
@ -38,7 +38,7 @@ export type MintAccountInfo = StructType<typeof MintAccountInfo>;
|
|||
export const MintAccountInfo = object({
|
||||
decimals: number(),
|
||||
isInitialized: boolean(),
|
||||
owner: optional(Pubkey),
|
||||
owner: nullable(optional(Pubkey)),
|
||||
});
|
||||
|
||||
export type MultisigAccountInfo = StructType<typeof MultisigAccountInfo>;
|
||||
|
|
Loading…
Reference in New Issue