Fixing clippy warnings.

This commit is contained in:
Tomasz Drwięga
2016-03-10 14:06:47 +01:00
parent 0535fb30c6
commit 9db4720162
4 changed files with 22 additions and 22 deletions

View File

@@ -259,8 +259,8 @@ impl Configuration {
}
fn gasprice(&self) -> U256 {
U256::from_dec_str(self.args.flag_gasprice).unwrap_or_else(|_| {
die("{}: Invalid gasprice given. Must be a decimal unsigned 256-bit number.")
U256::from_dec_str(self.args.flag_gasprice.as_str()).unwrap_or_else(|_| {
die!("{}: Invalid gas price given. Must be a decimal unsigned 256-bit number.", self.args.flag_gasprice)
})
}