Skip to content

Commit 4dea839

Browse files
Update wasm/src/ledger/transition.rs
Co-authored-by: Mike Turner <[email protected]> Signed-off-by: Roy Rotstein <[email protected]>
1 parent 9ef3a53 commit 4dea839

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wasm/src/ledger/transition.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ 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();
183-
tvk
182+
tpk.scalar_multiply(&view_key.to_scalar()).to_x_coordinate()
184183
}
185184

186185
/// Get the transition commitment of the transition.

0 commit comments

Comments
 (0)