From 8dd79c7330f5e59c7e73481d8097a18752efaf61 Mon Sep 17 00:00:00 2001 From: NinaLua Date: Tue, 30 Apr 2024 13:52:06 +0800 Subject: [PATCH] chore: fix some typos in comment --- .../mnemonic-import/mnemonic-import.component.html | 2 +- src/app/services/error-handling/error-handling.service.ts | 2 +- src/app/services/error-handling/rpc-errors.ts | 4 ++-- src/app/services/operation/operation.service.spec.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/components/views/start/login-types/mnemonic-import/mnemonic-import.component.html b/src/app/components/views/start/login-types/mnemonic-import/mnemonic-import.component.html index e57a0bef..53abfaac 100644 --- a/src/app/components/views/start/login-types/mnemonic-import/mnemonic-import.component.html +++ b/src/app/components/views/start/login-types/mnemonic-import/mnemonic-import.component.html @@ -73,7 +73,7 @@

Import wallet

[(ngModel)]="password" [placeholder]="'Password (required)'" readonly="true" (click)="clickPassword($event)" (blur)="blurPassword($event)"> Provide the public key hash to verify your email and password are correct - + diff --git a/src/app/services/error-handling/error-handling.service.ts b/src/app/services/error-handling/error-handling.service.ts index 73766a64..fafcf406 100644 --- a/src/app/services/error-handling/error-handling.service.ts +++ b/src/app/services/error-handling/error-handling.service.ts @@ -16,7 +16,7 @@ const customErrors: Record = { msg: 'Error while applying operation: Please try again.' }, 'proto.alpha.contract.balance_too_low': { - msg: 'Not enoght tez (XTZ) to perform this operation' + msg: 'Not enough tez (XTZ) to perform this operation' } }; diff --git a/src/app/services/error-handling/rpc-errors.ts b/src/app/services/error-handling/rpc-errors.ts index 7c0df493..c92a6703 100644 --- a/src/app/services/error-handling/rpc-errors.ts +++ b/src/app/services/error-handling/rpc-errors.ts @@ -48,11 +48,11 @@ export const rpcErrors: Record = "category": "temporary" }, "proto.alpha.Dal_slot_repr.invalid_proof_deserialization": { - "msg": "Error occured during dal proof deserialization", + "msg": "Error occurred during dal proof deserialization", "category": "temporary" }, "proto.alpha.Dal_slot_repr.invalid_proof_serialization": { - "msg": "Error occured during dal proof serialization", + "msg": "Error occurred during dal proof serialization", "category": "temporary" }, "proto.alpha.Dissecting_during_final_move": { diff --git a/src/app/services/operation/operation.service.spec.ts b/src/app/services/operation/operation.service.spec.ts index 50124013..842686a1 100644 --- a/src/app/services/operation/operation.service.spec.ts +++ b/src/app/services/operation/operation.service.spec.ts @@ -290,7 +290,7 @@ describe('[ OperationService ]', () => { * State(s): * 1: Parameter 'to' is empty. It doesn't set the fop.contents[0].delegate property? Does this nullify delegate? * 2: Parameter to is valid & manager.key is undefined. Appends a reveal operation which changes fop object expected. - * 3: Parameter to is valie & manager.key is defined. "Passes" returns operation(fop,keys) + * 3: Parameter to is valid & manager.key is defined. "Passes" returns operation(fop,keys) * Testing: * - Perform for each state(3) * - CALLTHROUGH EXPECT return of Observable object if we are not mocking/stubbing operation.