Expand tests for ethereum-schnorr-contract

This commit is contained in:
Luke Parker
2024-10-28 18:08:31 -04:00
parent 0b61a75afc
commit ce1689b325
9 changed files with 205 additions and 51 deletions

View File

@@ -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())
})
}
}