Fix up flag struct.
This commit is contained in:
		
							parent
							
								
									d2057a3f72
								
							
						
					
					
						commit
						70db48961a
					
				| @ -229,7 +229,7 @@ pub struct Args { | |||||||
| 	pub flag_chain: String, | 	pub flag_chain: String, | ||||||
| 	pub flag_db_path: String, | 	pub flag_db_path: String, | ||||||
| 	pub flag_identity: String, | 	pub flag_identity: String, | ||||||
| 	pub flag_assist_dao_attack: bool, | 	pub flag_dont_help_rescue_dao: bool, | ||||||
| 	pub flag_dogmatic: bool, | 	pub flag_dogmatic: bool, | ||||||
| 	pub flag_unlock: Option<String>, | 	pub flag_unlock: Option<String>, | ||||||
| 	pub flag_password: Vec<String>, | 	pub flag_password: Vec<String>, | ||||||
|  | |||||||
| @ -75,7 +75,7 @@ impl Configuration { | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	pub fn gas_floor_target(&self) -> U256 { | 	pub fn gas_floor_target(&self) -> U256 { | ||||||
| 		if self.args.flag_assist_dao_attack || self.args.flag_dogmatic { | 		if self.args.dont_help_rescue_dao || self.args.flag_dogmatic { | ||||||
| 			4_700_000.into() | 			4_700_000.into() | ||||||
| 		} else { | 		} else { | ||||||
| 			let d = &self.args.flag_gas_floor_target; | 			let d = &self.args.flag_gas_floor_target; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user