We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1398089 commit d0371a8Copy full SHA for d0371a8
wasm/src/ledger/transition.rs
@@ -179,10 +179,10 @@ impl Transition {
179
/// Get the transition view key of the transition.
180
pub fn tvk(&self, view_key: &ViewKey) -> Field {
181
let tpk = self.tpk();
182
- let tvk = tpk.scalar_multiply(view_key.to_scalar()).to_x_coordinate();
+ let tvk = tpk.scalar_multiply(&view_key.to_scalar()).to_x_coordinate();
183
tvk
184
}
185
-
+
186
/// Get the transition commitment of the transition.
187
pub fn tcm(&self) -> Field {
188
Field::from(self.0.tcm())
0 commit comments