diff --git a/backend/src/graphql/resolver/TransactionResolver.ts b/backend/src/graphql/resolver/TransactionResolver.ts index 6eac816a8..622bf37fe 100644 --- a/backend/src/graphql/resolver/TransactionResolver.ts +++ b/backend/src/graphql/resolver/TransactionResolver.ts @@ -367,7 +367,7 @@ export class TransactionResolver { const recipiantUser = await userRepository.findByPubkeyHex(recipiantPublicKey) if (!recipiantUser) { throw new Error('Cannot find recipiant user by local send coins transaction') - } else if (recipiantUser.disabled) { + } else if (recipiantUser.deletedAt) { throw new Error('recipiant user account is disabled') }