From 4c0e95a1ad46f36de814192a5af0878f015995a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Dethier?= Date: Tue, 16 Apr 2024 13:54:24 +0200 Subject: [PATCH] feat: fix vault-out request creation. logion-network/logion-internal#1220 --- src/logion/controllers/vaulttransferrequest.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logion/controllers/vaulttransferrequest.controller.ts b/src/logion/controllers/vaulttransferrequest.controller.ts index ee316af..8fc2ae5 100644 --- a/src/logion/controllers/vaulttransferrequest.controller.ts +++ b/src/logion/controllers/vaulttransferrequest.controller.ts @@ -128,7 +128,7 @@ export class VaultTransferRequestController extends ApiController { user.require(user => user.validAccountId.equals(origin) || - data.activeRecovery !== undefined && origin === data.activeRecovery.addressToRecover); + data.activeRecovery !== undefined && origin.equals(data.activeRecovery.addressToRecover)); return this.getUserDataFromProtection(user.validAccountId, origin, legalOfficerAddress, data.activeRecovery, data.activeProtection); }