From fe0195327d505226860d029d9072a4fcf2da88d3 Mon Sep 17 00:00:00 2001 From: 0xripleys <0xripleys@solend.fi> Date: Wed, 30 Nov 2022 14:41:59 -0500 Subject: [PATCH] remove discriminator fn --- rust/switchboard-v2/src/buffer_relayer.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/rust/switchboard-v2/src/buffer_relayer.rs b/rust/switchboard-v2/src/buffer_relayer.rs index a31e90f..fcc3a53 100644 --- a/rust/switchboard-v2/src/buffer_relayer.rs +++ b/rust/switchboard-v2/src/buffer_relayer.rs @@ -102,9 +102,6 @@ impl BufferRelayerAccountData { } impl Discriminator for BufferRelayerAccountData { const DISCRIMINATOR: [u8; 8] = [50, 35, 51, 115, 169, 219, 158, 52]; - fn discriminator() -> [u8; 8] { - [50, 35, 51, 115, 169, 219, 158, 52] - } } impl Owner for BufferRelayerAccountData { fn owner() -> solana_program::pubkey::Pubkey {