Add tty password input (#2503)

* Add tty password input

* Move password from core/service to core/cli

* Fix test build error

* Password should be entered only once if it's for decoding

* Update Cargo.lock from rebuild
This commit is contained in:
郭光华 authored and Gavin Wood committed 2019-05-15 18:11:59 +02:00
1 parent c4e3970d9f
commit b399ea0b31
7 files changed
+31 -2

No files matched your search

+1
View File
@@ -127,6 +127,7 @@ fn node_config<F: ServiceFactory> (
offchain_worker: false,
force_authoring: false,
disable_grandpa: false,
password: "".to_string(),
}
}