diff --git a/client/src/query.rs b/client/src/query.rs index 626babf0697..216c77604e1 100644 --- a/client/src/query.rs +++ b/client/src/query.rs @@ -144,7 +144,6 @@ impl From for ClientQueryError { impl QueryExecutor for Client { type Cursor = ClientQueryCursor; - // TODO: split these two errors maybe? (it's more useful for smart contracts though..) type Error = ClientQueryError; type SingleError = ClientQueryError; diff --git a/client/tests/integration/queries/query_errors.rs b/client/tests/integration/queries/query_errors.rs index 156394118c3..8958515e497 100644 --- a/client/tests/integration/queries/query_errors.rs +++ b/client/tests/integration/queries/query_errors.rs @@ -15,8 +15,6 @@ fn non_existent_account_is_specific_error() { .execute_single() .expect_err("Should error"); - // NOTE: with the current implementation, the error returned is less specific than it was before - // (we no longer get the context that it is the entire domain that doesn't exist, not just the account) match err { ClientQueryError::Single(SingleQueryError::ExpectedOneGotNone) => {} x => panic!("Unexpected error: {x:?}"),