mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Make the bitcoin Algorithm test a unit test
This commit is contained in:
@@ -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;
|
||||||
Reference in New Issue
Block a user