From 3f4ff3f7b5c39963cc96c65ed075a80a9e106846 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Sat, 2 Mar 2019 18:02:13 -0700 Subject: [PATCH] Delete duplicate file --- programs/native/budget_api/src/budget_program.rs | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 programs/native/budget_api/src/budget_program.rs diff --git a/programs/native/budget_api/src/budget_program.rs b/programs/native/budget_api/src/budget_program.rs deleted file mode 100644 index 9d35232d64..0000000000 --- a/programs/native/budget_api/src/budget_program.rs +++ /dev/null @@ -1,14 +0,0 @@ -use crate::pubkey::Pubkey; - -pub const BUDGET_PROGRAM_ID: [u8; 32] = [ - 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, -]; - -pub fn id() -> Pubkey { - Pubkey::new(&BUDGET_PROGRAM_ID) -} - -pub fn check_id(program_id: &Pubkey) -> bool { - program_id.as_ref() == BUDGET_PROGRAM_ID -}