Skip to content

Commit 7294bcb

Browse files
toofoobooarcoraven
authored andcommitted
chore: fix some typos in comment
Signed-off-by: toofooboo <cmaker@foxmail.com> Signed-off-by: Phillip Ho <arcoraven@gmail.com>
1 parent b6fe4be commit 7294bcb

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/server/routes/backend-wallet/import.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const importBackendWallet = async (fastify: FastifyInstance) => {
195195
}
196196

197197
// TODO: with next breaking change, only require GCP KMS resource path
198-
// import endoint does not currently have resource path in the request body
198+
// import endpoint does not currently have resource path in the request body
199199
// so we rely on the global configuration for these values
200200
if (
201201
!(

src/shared/db/wallets/create-wallet-details.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type CreateWalletDetailsParams = {
1515
}
1616
| {
1717
type: "aws-kms";
18-
awsKmsKeyId?: string; // depcrecated and unused, todo: remove with next breaking change
18+
awsKmsKeyId?: string; // deprecated and unused, todo: remove with next breaking change
1919
awsKmsArn: string;
2020

2121
awsKmsSecretAccessKey: string; // will be encrypted and stored, pass plaintext to this function
@@ -24,10 +24,10 @@ type CreateWalletDetailsParams = {
2424
| {
2525
type: "gcp-kms";
2626
gcpKmsResourcePath: string;
27-
gcpKmsKeyRingId?: string; // depcrecated and unused, todo: remove with next breaking change
28-
gcpKmsKeyId?: string; // depcrecated and unused, todo: remove with next breaking change
29-
gcpKmsKeyVersionId?: string; // depcrecated and unused, todo: remove with next breaking change
30-
gcpKmsLocationId?: string; // depcrecated and unused, todo: remove with next breaking change
27+
gcpKmsKeyRingId?: string; // deprecated and unused, todo: remove with next breaking change
28+
gcpKmsKeyId?: string; // deprecated and unused, todo: remove with next breaking change
29+
gcpKmsKeyVersionId?: string; // deprecated and unused, todo: remove with next breaking change
30+
gcpKmsLocationId?: string; // deprecated and unused, todo: remove with next breaking change
3131

3232
gcpApplicationCredentialPrivateKey: string; // will be encrypted and stored, pass plaintext to this function
3333
gcpApplicationCredentialEmail: string;

src/shared/utils/transaction/queue-transation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export type QueuedTransactionParams = {
3636
* Encodes a transaction to generate data, and inserts it into the transaction queue using the insertTransaction()
3737
*
3838
* Note:
39-
* - functionName must be be provided to populate the functionName field in the queued transaction
39+
* - functionName must be provided to populate the functionName field in the queued transaction
4040
* - value and chain details are resolved from the transaction
4141
*/
4242
export async function queueTransaction(args: QueuedTransactionParams) {

src/worker/queues/send-transaction-queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class SendTransactionQueue {
1919
},
2020
});
2121

22-
// Allow enqueing the same queueId for multiple retries.
22+
// Allow enqueuing the same queueId for multiple retries.
2323
static jobId = (data: SendTransactionData) =>
2424
`${data.queueId}.${data.resendCount}`;
2525

0 commit comments

Comments
 (0)