Coordinator Batch signing test

This commit is contained in:
Luke Parker
2023-08-24 23:48:50 -04:00
parent d3093c92dc
commit 2702384c70
6 changed files with 443 additions and 186 deletions

View File

@@ -82,6 +82,7 @@ impl Zeroize for SignedBatch {
}
}
// TODO: Make this an associated method?
/// The message for the batch signature.
pub fn batch_message(batch: &Batch) -> Vec<u8> {
[b"InInstructions-batch".as_ref(), &batch.encode()].concat()