Skip to content

Commit 458a24b

Browse files
kevaundrayoleganza
authored andcommitted
Removed commit u64 (#246)
Closes #230
1 parent 0eddd4d commit 458a24b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/transcript.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ pub trait TranscriptProtocol {
1212
fn innerproduct_domain_sep(&mut self, n: u64);
1313
/// Commit a domain separator for a constraint system.
1414
fn r1cs_domain_sep(&mut self);
15-
/// Commit a 64-bit integer.
16-
fn commit_u64(&mut self, label: &'static [u8], n: u64);
1715
/// Commit a `scalar` with the given `label`.
1816
fn commit_scalar(&mut self, label: &'static [u8], scalar: &Scalar);
1917
/// Commit a `point` with the given `label`.
@@ -44,10 +42,6 @@ impl TranscriptProtocol for Transcript {
4442
self.commit_bytes(b"dom-sep", b"r1cs v1");
4543
}
4644

47-
fn commit_u64(&mut self, label: &'static [u8], n: u64) {
48-
self.commit_bytes(label, &le_u64(n));
49-
}
50-
5145
fn commit_scalar(&mut self, label: &'static [u8], scalar: &Scalar) {
5246
self.commit_bytes(label, scalar.as_bytes());
5347
}

0 commit comments

Comments
 (0)