Skip to content

Commit

Permalink
remove parens
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Aug 29, 2024
1 parent c09fc1a commit ae3ab85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transaction-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ impl TransactionInterface {

pub fn recent_blockhash(&self) -> &[u8; 32] {
unsafe {
let recent_blockhas_ptr = ((self.recent_blockhash_fn)(self.transaction_ptr));
let recent_blockhas_ptr = (self.recent_blockhash_fn)(self.transaction_ptr);
&*(recent_blockhas_ptr as *const [u8; 32])
}
}
Expand Down

0 comments on commit ae3ab85

Please sign in to comment.