mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Write a test runner for Monero transactions
Also includes a few fixes for the library itself. Supersedes #172.
This commit is contained in:
@@ -18,7 +18,7 @@ pub mod address;
|
||||
use address::{Network, AddressType, AddressMeta, MoneroAddress};
|
||||
|
||||
mod scan;
|
||||
pub use scan::SpendableOutput;
|
||||
pub use scan::{ReceivedOutput, SpendableOutput};
|
||||
|
||||
pub(crate) mod decoys;
|
||||
pub(crate) use decoys::Decoys;
|
||||
|
||||
@@ -362,7 +362,7 @@ impl SignableTransaction {
|
||||
|
||||
/// Sign this transaction.
|
||||
pub async fn sign<R: RngCore + CryptoRng>(
|
||||
&mut self,
|
||||
mut self,
|
||||
rng: &mut R,
|
||||
rpc: &Rpc,
|
||||
spend: &Zeroizing<Scalar>,
|
||||
|
||||
Reference in New Issue
Block a user