mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-11 05:14:41 +00:00
Make the bitcoin Algorithm test a unit test
This commit is contained in:
parent
d58a7b0ebf
commit
11a0803ea5
3 changed files with 5 additions and 1 deletions
|
@ -14,3 +14,6 @@ pub(crate) mod crypto;
|
||||||
pub mod wallet;
|
pub mod wallet;
|
||||||
/// A minimal asynchronous Bitcoin RPC client.
|
/// A minimal asynchronous Bitcoin RPC client.
|
||||||
pub mod rpc;
|
pub mod rpc;
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests;
|
||||||
|
|
|
@ -12,7 +12,7 @@ use frost::{
|
||||||
tests::{algorithm_machines, key_gen, sign},
|
tests::{algorithm_machines, key_gen, sign},
|
||||||
};
|
};
|
||||||
|
|
||||||
use bitcoin_serai::{
|
use crate::{
|
||||||
bitcoin::hashes::{Hash as HashTrait, sha256::Hash},
|
bitcoin::hashes::{Hash as HashTrait, sha256::Hash},
|
||||||
crypto::{x_only, make_even, Schnorr},
|
crypto::{x_only, make_even, Schnorr},
|
||||||
};
|
};
|
1
coins/bitcoin/src/tests/mod.rs
Normal file
1
coins/bitcoin/src/tests/mod.rs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
mod crypto;
|
Loading…
Reference in a new issue