From 7637fecada5ada8effabc26bcf3fe7ee12854d1e Mon Sep 17 00:00:00 2001 From: Nick Garfield Date: Mon, 13 Feb 2023 00:56:48 +0000 Subject: [PATCH] Update thread program address --- Anchor.toml | 6 +++--- programs/thread/src/lib.rs | 7 ++----- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Anchor.toml b/Anchor.toml index 38aa52aae..0829e9c05 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -4,17 +4,17 @@ wallet = "~/.config/solana/id.json" [programs.localnet] clockwork_network_program = "F8dKseqmBoAkHx3c58Lmb9TgJv5qeTf3BbtZZSEzYvUa" -clockwork_thread_program = "CLoCK99qFooNcvAa5nGHB3acgup8FkF2vbtDR1X12Y45" +clockwork_thread_program = "CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh" clockwork_webhook_program = "E7p5KFo8kKCDm6BUnWtnVFkQSYh6ZA6xaGAuvpv8NXTa" [programs.testnet] clockwork_network_program = "F8dKseqmBoAkHx3c58Lmb9TgJv5qeTf3BbtZZSEzYvUa" -clockwork_thread_program = "CLoCK99qFooNcvAa5nGHB3acgup8FkF2vbtDR1X12Y45" +clockwork_thread_program = "CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh" clockwork_webhook_program = "E7p5KFo8kKCDm6BUnWtnVFkQSYh6ZA6xaGAuvpv8NXTa" [programs.mainnet] clockwork_network_program = "F8dKseqmBoAkHx3c58Lmb9TgJv5qeTf3BbtZZSEzYvUa" -clockwork_thread_program = "CLoCK99qFooNcvAa5nGHB3acgup8FkF2vbtDR1X12Y45" +clockwork_thread_program = "CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh" clockwork_webhook_program = "E7p5KFo8kKCDm6BUnWtnVFkQSYh6ZA6xaGAuvpv8NXTa" [registry] diff --git a/programs/thread/src/lib.rs b/programs/thread/src/lib.rs index 8c6fdaa2d..dcd50f818 100644 --- a/programs/thread/src/lib.rs +++ b/programs/thread/src/lib.rs @@ -17,7 +17,7 @@ use clockwork_utils::{ use instructions::*; use state::*; -declare_id!("CLoCK99qFooNcvAa5nGHB3acgup8FkF2vbtDR1X12Y45"); +declare_id!("CLoCKyJ6DXBJqqu2VWx9RLbgnwwR6BMHHuyasVmfMzBh"); /// Program for creating transaction threads on Solana. #[program] @@ -71,10 +71,7 @@ pub mod thread_program { } /// Allows an owner to update the mutable properties of a thread. - pub fn thread_update( - ctx: Context, - settings: ThreadSettings, - ) -> Result<()> { + pub fn thread_update(ctx: Context, settings: ThreadSettings) -> Result<()> { thread_update::handler(ctx, settings) }