mirror of
https://github.com/urbit/ares.git
synced 2024-11-22 15:08:54 +03:00
ares_crypto
: fix typo
This commit is contained in:
parent
0f749965e1
commit
c0ca1813a8
@ -51,7 +51,7 @@ pub fn jet_shar(context: &mut Context, subject: Noun) -> Result {
|
||||
let sec_bytes = sec_key.as_bytes();
|
||||
|
||||
public[0..pub_bytes.len()].copy_from_slice(pub_bytes);
|
||||
secret[0..pub_bytes.len()].copy_from_slice(sec_bytes);
|
||||
secret[0..sec_bytes.len()].copy_from_slice(sec_bytes);
|
||||
|
||||
let (mut shar_ida, shar) = IndirectAtom::new_raw_mut_bytearray::<32, NockStack>(stack);
|
||||
ac_ed_shar(public, secret, shar);
|
||||
|
Loading…
Reference in New Issue
Block a user