From 28503aaf50256c07aad510ea01260e109a6c5aac Mon Sep 17 00:00:00 2001 From: fudancoder Date: Thu, 19 Dec 2024 20:42:56 +0800 Subject: [PATCH] chore: remove redundant words Signed-off-by: fudancoder --- ts/packages/spl-governance/idl.json | 2 +- ts/packages/spl-governance/program/lib.rs | 4 ++-- ts/packages/spl-governance/src/program.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ts/packages/spl-governance/idl.json b/ts/packages/spl-governance/idl.json index a4d7047e46..3909c769e5 100644 --- a/ts/packages/spl-governance/idl.json +++ b/ts/packages/spl-governance/idl.json @@ -2947,7 +2947,7 @@ { "code": 584, "name": "ProposalIsNotExecutable", - "msg": "Proposal is not not executable" + "msg": "Proposal is not executable" }, { "code": 585, diff --git a/ts/packages/spl-governance/program/lib.rs b/ts/packages/spl-governance/program/lib.rs index 414a97ceab..08ac3f0117 100644 --- a/ts/packages/spl-governance/program/lib.rs +++ b/ts/packages/spl-governance/program/lib.rs @@ -1848,8 +1848,8 @@ pub enum GovernanceError { #[msg("Invalid proposal options")] InvalidProposalOptions, - /// Proposal is not not executable - #[msg("Proposal is not not executable")] + /// Proposal is not executable + #[msg("Proposal is not executable")] ProposalIsNotExecutable, /// Invalid vote diff --git a/ts/packages/spl-governance/src/program.ts b/ts/packages/spl-governance/src/program.ts index 058930f3e8..85a09f9183 100644 --- a/ts/packages/spl-governance/src/program.ts +++ b/ts/packages/spl-governance/src/program.ts @@ -2910,7 +2910,7 @@ type SplGovernance = { { code: 584; name: "ProposalIsNotExecutable"; - msg: "Proposal is not not executable"; + msg: "Proposal is not executable"; }, { code: 585; @@ -5869,7 +5869,7 @@ const IDL: SplGovernance = { { code: 584, name: "ProposalIsNotExecutable", - msg: "Proposal is not not executable", + msg: "Proposal is not executable", }, { code: 585,