This commit is contained in:
Nikolay Volf 2016-03-04 14:53:18 +03:00
parent da65761712
commit 4f62e80de7

View File

@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>. // along with Parity. If not, see <http://www.gnu.org/licenses/>.
//! Net rpc implementation. //! Account management (personal) rpc implementation
use std::sync::{Arc, Weak}; use std::sync::{Arc, Weak};
use jsonrpc_core::*; use jsonrpc_core::*;
use v1::traits::Personal; use v1::traits::Personal;
@ -22,7 +22,7 @@ use util::keys::store::*;
use util::{Bytes, Address}; use util::{Bytes, Address};
use std::sync::RwLock; use std::sync::RwLock;
/// Net rpc implementation. /// Account management (personal) rpc implementation.
pub struct PersonalClient { pub struct PersonalClient {
secret_store: Weak<SecretStore>, secret_store: Weak<SecretStore>,
unlocked_account: Arc<RwLock<Option<Address>>>, unlocked_account: Arc<RwLock<Option<Address>>>,