From a0469f32f018b63b6875f2a5e12d0df138113873 Mon Sep 17 00:00:00 2001 From: Vadim Date: Wed, 14 Aug 2024 09:58:03 +0200 Subject: [PATCH] chore: renaming --- blockbuster/blockbuster/src/programs/bubblegum/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockbuster/blockbuster/src/programs/bubblegum/mod.rs b/blockbuster/blockbuster/src/programs/bubblegum/mod.rs index 446cf58fc..d074bc0ee 100644 --- a/blockbuster/blockbuster/src/programs/bubblegum/mod.rs +++ b/blockbuster/blockbuster/src/programs/bubblegum/mod.rs @@ -30,7 +30,7 @@ use spl_noop; #[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] pub struct FinalizeTreeWithRootInstructionArgsWithStaker { - pub rightmost_root: [u8; 32], + pub root: [u8; 32], pub rightmost_leaf: [u8; 32], pub rightmost_index: u32, pub metadata_url: String, @@ -45,7 +45,7 @@ impl FinalizeTreeWithRootInstructionArgsWithStaker { collection_mint: Option, ) -> Self { Self { - rightmost_root: args.root, + root: args.root, rightmost_leaf: args.rightmost_leaf, rightmost_index: args.rightmost_index, metadata_url: args.metadata_url,