Fix up flag struct.

This commit is contained in:
Gav Wood 2016-06-21 13:18:07 +02:00
parent d2057a3f72
commit 70db48961a
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ pub struct Args {
pub flag_chain: String,
pub flag_db_path: String,
pub flag_identity: String,
pub flag_assist_dao_attack: bool,
pub flag_dont_help_rescue_dao: bool,
pub flag_dogmatic: bool,
pub flag_unlock: Option<String>,
pub flag_password: Vec<String>,

View File

@ -75,7 +75,7 @@ impl Configuration {
}
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()
} else {
let d = &self.args.flag_gas_floor_target;