From 02cb2f09c7f9a9699b9cfe5360a1a89f5fa6200a Mon Sep 17 00:00:00 2001 From: Jean Marchand Date: Thu, 25 Apr 2024 14:47:17 +0200 Subject: [PATCH] cli: Fix worker creation --- cli/src/processor/worker.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/src/processor/worker.rs b/cli/src/processor/worker.rs index 969674ba..88a339ee 100644 --- a/cli/src/processor/worker.rs +++ b/cli/src/processor/worker.rs @@ -108,7 +108,6 @@ pub fn create(client: &Client, signatory: Keypair, silent: bool) -> Result<(), C data: sablier_network_program::instruction::WorkerCreate {}.data(), }; - let worker_pubkey = Worker::pubkey(worker_id + 1); let ix_utils = Instruction { program_id: sablier_network_program::ID, accounts: sablier_network_program::accounts::WorkerUtilsCreate {