@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.2 / transientCommit
Function: transientCommit()
Internal
transientCommit(
align,
val,
opening): Value
Internal implementation of the transient commitment primitive
Parameters
• align: Alignment
• val: Value
• opening: Value
Returns
Throws
If val does not have alignment align, or opening does not encode a field element