Remove whitespace in note_commit and commit_ivk personalisations
Co-authored-by: str4d <jack@z.cash>
This commit is contained in:
parent
e0b8fd639a
commit
99e7184038
|
@ -35,7 +35,7 @@ def sinsemilla_short_commit(r: Scalar, D, M):
|
|||
def note_commit(rcm, g_d, pk_d, v, rho, psi):
|
||||
return sinsemilla_commit(
|
||||
rcm,
|
||||
b"z.cash: Orchard-NoteCommit",
|
||||
b"z.cash:Orchard-NoteCommit",
|
||||
g_d + pk_d + i2lebsp(64, v) + i2lebsp(L_ORCHARD_BASE, rho.s) + i2lebsp(L_ORCHARD_BASE, psi.s)
|
||||
)
|
||||
|
||||
|
@ -46,7 +46,7 @@ def rcm_trapdoor(rand):
|
|||
def commit_ivk(rivk: Scalar, ak: Fp, nk: Fp):
|
||||
return sinsemilla_short_commit(
|
||||
rivk,
|
||||
b"z.cash: Orchard-CommitIvk",
|
||||
b"z.cash:Orchard-CommitIvk",
|
||||
i2lebsp(L_ORCHARD_BASE, ak.s) + i2lebsp(L_ORCHARD_BASE, nk.s)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue