Skip to content

Commit

Permalink
use sp_core::ByteArray
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Apr 16, 2024
1 parent 2e1b0c7 commit 69be798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tuxedo-core/src/verifier/htlc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Verifier for HashTimeLockContract {
#[cfg(test)]
mod test {
use super::*;
use sp_core::{sr25519::Pair, Pair as _};
use sp_core::{sr25519::Pair, ByteArray, Pair as _};

fn bad_sig() -> Signature {
Signature::from_slice(
Expand Down
2 changes: 1 addition & 1 deletion tuxedo-core/src/verifier/simple_signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl Verifier for P2PKH {
#[cfg(test)]
mod test {
use super::*;
use sp_core::{crypto::Pair as _, sr25519::Pair};
use sp_core::{crypto::Pair as _, sr25519::Pair, ByteArray};

fn bad_sig() -> Signature {
Signature::from_slice(
Expand Down

0 comments on commit 69be798

Please sign in to comment.