Skip to content

Commit

Permalink
Update thread program address
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgarfield committed Feb 13, 2023
1 parent d1fd005 commit 7637fec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
7 changes: 2 additions & 5 deletions programs/thread/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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<ThreadUpdate>,
settings: ThreadSettings,
) -> Result<()> {
pub fn thread_update(ctx: Context<ThreadUpdate>, settings: ThreadSettings) -> Result<()> {
thread_update::handler(ctx, settings)
}

Expand Down

0 comments on commit 7637fec

Please sign in to comment.