mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Expand tests for ethereum-schnorr-contract
This commit is contained in:
@@ -140,7 +140,7 @@ impl SignatureMachine<Transaction> for ActionSignatureMachine {
|
||||
self.machine.complete(shares).map(|signature| {
|
||||
let s = signature.s;
|
||||
let c = Signature::challenge(signature.R, &self.key, &self.action.message());
|
||||
Transaction(self.action, Signature::new(c, s))
|
||||
Transaction(self.action, Signature::new(c, s).unwrap())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user