Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Aug 12, 2024
1 parent 10ee387 commit 3b9d337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/shared/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ pub struct QuoteInputData(pub [u8; 64]);

impl QuoteInputData {
pub fn new(
account_id: [u8; 32],
tss_account_id: [u8; 32],
x25519_public_key: X25519PublicKey,
nonce: [u8; 32],
block_number: u32,
) -> Self {
let mut hasher = Blake2b512::new();
hasher.update(account_id);
hasher.update(tss_account_id);
hasher.update(x25519_public_key);
hasher.update(nonce);
hasher.update(block_number.to_be_bytes());
Expand Down

0 comments on commit 3b9d337

Please sign in to comment.