Skip to content

Commit

Permalink
feat: fix vault-out request creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdethier committed Apr 16, 2024
1 parent efcafe8 commit 4c0e95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logion/controllers/vaulttransferrequest.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4c0e95a

Please sign in to comment.