From 5319f6de1e9af554e65457432f8d2f815af3df75 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 11 Feb 2022 12:10:00 +0100 Subject: [PATCH] remove string 'recipiant not known' to 'recipiant not known' --- backend/src/graphql/resolver/TransactionResolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/graphql/resolver/TransactionResolver.ts b/backend/src/graphql/resolver/TransactionResolver.ts index 4bf4e7a17..8fe1e8484 100644 --- a/backend/src/graphql/resolver/TransactionResolver.ts +++ b/backend/src/graphql/resolver/TransactionResolver.ts @@ -373,7 +373,7 @@ export class TransactionResolver { // TODO: the detour over the public key is unnecessary const recipiantPublicKey = await getPublicKey(email) if (!recipiantPublicKey) { - throw new Error('recipiant not known') + throw new Error('recipient not known') } if (!isHexPublicKey(recipiantPublicKey)) { throw new Error('invalid recipiant public key')