From bf9173e673b8c76103f8ae13fe460de9f8ba32c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Tue, 7 Jun 2016 17:25:01 +0200 Subject: [PATCH] Fixing signer behaviour when confirming transaction with wrong password. (#1237) * Avoid removing transactions when trying to confirm and the password is invalid * Fix order --- dapps/src/apps/mod.rs | 2 +- rpc/src/v1/impls/personal_signer.rs | 3 +-- rpc/src/v1/tests/mocked/personal_signer.rs | 24 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/dapps/src/apps/mod.rs b/dapps/src/apps/mod.rs index 11c693c37..9f6a5c745 100644 --- a/dapps/src/apps/mod.rs +++ b/dapps/src/apps/mod.rs @@ -47,8 +47,8 @@ pub fn all_endpoints(dapps_path: String) -> Endpoints { PageEndpoint::new_safe_to_embed(parity_dapps_builtins::App::default()) )); pages.insert("proxy".into(), ProxyPac::boxed()); - insert::(&mut pages, "status"); insert::(&mut pages, "parity"); + insert::(&mut pages, "status"); // Optional dapps wallet_page(&mut pages); diff --git a/rpc/src/v1/impls/personal_signer.rs b/rpc/src/v1/impls/personal_signer.rs index 148330ced..88bf9a5d1 100644 --- a/rpc/src/v1/impls/personal_signer.rs +++ b/rpc/src/v1/impls/personal_signer.rs @@ -81,8 +81,7 @@ impl PersonalSigner for SignerClient