fix
This commit is contained in:
		
				
					committed by
					
						
						Greg Fitzgerald
					
				
			
			
				
	
			
			
			
						parent
						
							28e781efc3
						
					
				
				
					commit
					ae47e34fa5
				
			@@ -161,7 +161,7 @@ fn main() {
 | 
				
			|||||||
        let ns = duration.as_secs() * 1_000_000_000 + u64::from(duration.subsec_nanos());
 | 
					        let ns = duration.as_secs() * 1_000_000_000 + u64::from(duration.subsec_nanos());
 | 
				
			||||||
        let tps = (txs * 1_000_000_000) as f64 / ns as f64;
 | 
					        let tps = (txs * 1_000_000_000) as f64 / ns as f64;
 | 
				
			||||||
        println!("{} tps", tps);
 | 
					        println!("{} tps", tps);
 | 
				
			||||||
        if txs == transactions.len() {
 | 
					        if txs == transactions.len() as u64 {
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        sleep(Duration::new(1, 0));
 | 
					        sleep(Duration::new(1, 0));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user