Skip to content

Commit

Permalink
Fixing the typing in the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denommus committed Aug 29, 2019
1 parent cc1c04c commit 8e13107
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ mod test {
rx.init_dataset(1)
.expect("Is not possible initialize the dataset");

let vm = rx.get_or_create_vm().unwrap();
let vm_lock = rx.get_or_create_vm().unwrap();

let vm = vm_lock.read().unwrap();

let hash = calculate(&vm, &mut block_template, 0);

Expand Down

0 comments on commit 8e13107

Please sign in to comment.