remove string 'recipiant not known' to 'recipiant not known'

This commit is contained in:
ogerly 2022-02-11 12:10:00 +01:00
parent 7c7339e85b
commit 5319f6de1e

View File

@ -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')