mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove string 'recipiant not known' to 'recipiant not known'
This commit is contained in:
parent
7c7339e85b
commit
5319f6de1e
@ -373,7 +373,7 @@ export class TransactionResolver {
|
|||||||
// TODO: the detour over the public key is unnecessary
|
// TODO: the detour over the public key is unnecessary
|
||||||
const recipiantPublicKey = await getPublicKey(email)
|
const recipiantPublicKey = await getPublicKey(email)
|
||||||
if (!recipiantPublicKey) {
|
if (!recipiantPublicKey) {
|
||||||
throw new Error('recipiant not known')
|
throw new Error('recipient not known')
|
||||||
}
|
}
|
||||||
if (!isHexPublicKey(recipiantPublicKey)) {
|
if (!isHexPublicKey(recipiantPublicKey)) {
|
||||||
throw new Error('invalid recipiant public key')
|
throw new Error('invalid recipiant public key')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user