Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

SPL-TOKEN mint --disable not working #7528

Closed
@stelgic

Description

@stelgic

Hi,

while trying to set max supply by disabling the mint i got an error

spl-token authorize mntZFtv8SvH6trqeSwvXXXXXXXXXXX mint --disable

Updating mntZFtv8SvH6trqeSwvXXXXXXXXXXX
  Current mint: B5PdLiFsLR7c8r6pwmLXXXXXXXXXXXXXXXX
  New mint: disabled
Error: Client(Error { request: Some(SendTransaction), kind: RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed: Error processing Instruction 0: custom program error: 0x4", data: SendTransactionPreflightFailure(RpcSimulateTransactionResult { err: Some(InstructionError(0, Custom(4))), logs: Some(["Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb invoke [1]", "Program log: Instruction: SetAuthority", "Program log: Error: owner does not match", "Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb consumed 1364 of 1364 compute units", "Program TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb failed: custom program error: 0x4"]), accounts: None, units_consumed: Some(1364), return_data: None, inner_instructions: None }) }) })

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions