Skip to content

Commit

Permalink
Merge branch 'postv2' into tx-delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
facing-n committed Oct 26, 2023
2 parents d55c798 + b7abbc6 commit a1c79b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions programs/nina/src/instructions/post_init_via_hub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@ use crate::errors::ErrorCode;

#[derive(Accounts)]
#[instruction(
hub_handle: String,
_hub_handle: String,
slug: String,
_uri: String,
)]
pub struct PostInitViaHub<'info> {
#[account(mut)]
pub payer: Signer<'info>,
#[account(
seeds = [b"nina-hub".as_ref(), hub_handle.as_bytes()],
bump,
)]
pub hub: AccountLoader<'info, Hub>,
#[account(
init,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub struct PostInitViaHubWithReferenceRelease<'info> {
#[account(mut)]
pub author: Signer<'info>,
#[account(
seeds = [b"nina-hub".as_ref(), hub_handle.as_bytes()],
seeds = [b"nina-hub".as_ref(), hub_handle.as_ref()],
bump,
)]
pub hub: AccountLoader<'info, Hub>,
Expand Down

0 comments on commit a1c79b7

Please sign in to comment.