diff --git a/rpc/src/v1/impls/parity_accounts.rs b/rpc/src/v1/impls/parity_accounts.rs index 8229715ea..3d91bf08a 100644 --- a/rpc/src/v1/impls/parity_accounts.rs +++ b/rpc/src/v1/impls/parity_accounts.rs @@ -123,7 +123,7 @@ impl ParityAccounts for ParityAccountsClient where C: MiningBlock take_weak!(self.accounts) .kill_account(&account, &password) .map(|_| true) - .map_err(|e| errors::account("Could not fetch account info.", e)) + .map_err(|e| errors::account("Could not delete account.", e)) } fn set_account_name(&self, addr: RpcH160, name: String) -> Result {