aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/mining.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mining.rs b/examples/mining.rs
index 56e33f3..c95c214 100644
--- a/examples/mining.rs
+++ b/examples/mining.rs
@@ -23,9 +23,9 @@ pub fn main() {
23 23
24 let result = Blake2s::digest(&j); 24 let result = Blake2s::digest(&j);
25 25
26 let first_five = result[31] as i32 + result[30] as i32 + (result[29] << 4) as i32; 26 let first_six = result[31] as i32 + result[30] as i32 + result[29] as i32;
27 27
28 if first_five == 0 { 28 if first_six == 0 {
29 println!("{} - {:x}\n{:?}", nonce, result, b); 29 println!("{} - {:x}\n{:?}", nonce, result, b);
30 break; 30 break;
31 } 31 }