Skip to content

Commit 1a63c2c

Browse files
Small fixes
Co-authored-by: Samuel Moelius <[email protected]>
1 parent ce29887 commit 1a63c2c

File tree

1 file changed

+1
-1
lines changed
  • not-so-smart-contracts/solana/ownership_check

1 file changed

+1
-1
lines changed

Diff for: not-so-smart-contracts/solana/ownership_check/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn set_owner(program_id: &Pubkey, new_owner: Pubkey, accounts: &[AccountInfo]) -
1717
let mut market = Market::unpack(&market_info.data.borrow())?;
1818

1919
if &market.owner != current_owner.pubkey {
20-
return Err(InvalidMarketOwner.into());
20+
return Err(InvalidMarketOwner.into());
2121
}
2222
market.owner = new_owner;
2323

0 commit comments

Comments
 (0)