mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Remove no longer necessary async from monero SignatableTransaction::sign
This commit is contained in:
@@ -805,8 +805,7 @@ impl SignableTransaction {
|
||||
}
|
||||
|
||||
/// Sign this transaction.
|
||||
// TODO: Remove async
|
||||
pub async fn sign<R: RngCore + CryptoRng>(
|
||||
pub fn sign<R: RngCore + CryptoRng>(
|
||||
mut self,
|
||||
rng: &mut R,
|
||||
spend: &Zeroizing<Scalar>,
|
||||
|
||||
@@ -228,7 +228,7 @@ macro_rules! test {
|
||||
let keys = keys.clone();
|
||||
async move {
|
||||
if !multisig {
|
||||
tx.sign(&mut OsRng, &spend).await.unwrap()
|
||||
tx.sign(&mut OsRng, &spend).unwrap()
|
||||
} else {
|
||||
#[cfg(not(feature = "multisig"))]
|
||||
panic!("Multisig branch called without the multisig feature");
|
||||
|
||||
Reference in New Issue
Block a user