Skip to content

Commit 313932d

Browse files
skaunovaszepieniec
authored andcommitted
Update lock_script.rs
reversing arbitrary is pointless
1 parent 5b1fd04 commit 313932d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neptune-core/src/protocol/consensus/transaction/lock_script.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl LockScriptAndWitness {
200200
impl<'a> Arbitrary<'a> for LockScriptAndWitness {
201201
fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result<Self> {
202202
let program = Program::arbitrary(u)?;
203-
let tokens = Digest::arbitrary(u)?.reversed().values().to_vec();
203+
let tokens = Digest::arbitrary(u)?.values().to_vec();
204204
Ok(LockScriptAndWitness::new_with_tokens(program, tokens))
205205
}
206206
}

0 commit comments

Comments
 (0)