Skip to content

Commit d0371a8

Browse files
committed
fixed clippy error
1 parent 1398089 commit d0371a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wasm/src/ledger/transition.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ impl Transition {
179179
/// Get the transition view key of the transition.
180180
pub fn tvk(&self, view_key: &ViewKey) -> Field {
181181
let tpk = self.tpk();
182-
let tvk = tpk.scalar_multiply(view_key.to_scalar()).to_x_coordinate();
182+
let tvk = tpk.scalar_multiply(&view_key.to_scalar()).to_x_coordinate();
183183
tvk
184184
}
185-
185+
186186
/// Get the transition commitment of the transition.
187187
pub fn tcm(&self) -> Field {
188188
Field::from(self.0.tcm())

0 commit comments

Comments
 (0)