Skip to content

Commit

Permalink
revert deref
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Coats committed Jan 16, 2024
1 parent da42555 commit 15e9bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keys/slip10.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub mod secp256k1 {
if scalar.is_zero().into() {
false
} else {
key_bytes[1..].copy_from_slice(&*scalar.to_bytes());
key_bytes[1..].copy_from_slice(&scalar.to_bytes());
true
}
} else {
Expand Down

0 comments on commit 15e9bdf

Please sign in to comment.