Sensible gas limits for eth_sendTransaction (#953)

* Sensible gas limits for eth_sendTransaction

Fixes #859

* Compile fix.

* Remove !.
This commit is contained in:
Gav Wood
2016-04-14 12:01:12 -07:00
parent 01e7d2d872
commit d909bc05c4
4 changed files with 13 additions and 13 deletions

View File

@@ -622,9 +622,9 @@ impl Configuration {
let mut secret_store = SecretStore::new_in(Path::new(&self.keys_path()));
if self.args.cmd_new {
println!("Please note that password is NOT RECOVERABLE.");
println!("Type password: ");
print!("Type password: ");
let password = read_password().unwrap();
println!("Repeat password: ");
print!("Repeat password: ");
let password_repeat = read_password().unwrap();
if password != password_repeat {
println!("Passwords do not match!");