diff --git a/app/src/screens/MainScreen.tsx b/app/src/screens/MainScreen.tsx index 803114b7..c18d0fd6 100644 --- a/app/src/screens/MainScreen.tsx +++ b/app/src/screens/MainScreen.tsx @@ -25,7 +25,7 @@ import { contribute } from '../utils/contribute'; import { sendCSCARequest } from '../utils/cscaRequest'; import { sendRegisterTransaction } from '../utils/transactions'; // import utils from common -import { mockPassportData_sha256WithRSAEncryption_65537 } from '../../../common/src/utils/mockPassportData'; +import { mockPassportData_sha256_rsa_65537 } from '../../../common/src/constants/mockPassportData'; import { getCSCAInputs } from '../../../common/src/utils/csca'; import { formatSigAlgNameForCircuit } from '../../../common/src/utils/utils'; // import screens @@ -95,7 +95,7 @@ const MainScreen: React.FC = () => { const handleSkip = () => { update({ - passportData: mockPassportData_sha256WithRSAEncryption_65537 + passportData: mockPassportData_sha256_rsa_65537 }) setStep(Steps.NEXT_SCREEN); deleteMrzFields(); diff --git a/app/src/stores/userStore.ts b/app/src/stores/userStore.ts index 761c90be..913f32cc 100644 --- a/app/src/stores/userStore.ts +++ b/app/src/stores/userStore.ts @@ -5,7 +5,7 @@ import { DEFAULT_DOE, } from '@env'; import forge from 'node-forge'; -import { mockPassportData_sha256WithRSAEncryption_65537 } from '../../../common/src/utils/mockPassportData'; +import { mockPassportData_sha256_rsa_65537 } from '../../../common/src/constants/mockPassportData'; import { PassportData, Proof } from '../../../common/src/utils/types'; import * as Keychain from 'react-native-keychain'; import * as amplitude from '@amplitude/analytics-react-native'; @@ -50,7 +50,7 @@ const useUserStore = create((set, get) => ({ dateOfExpiry: DEFAULT_DOE ?? "", dscSecret: null, registered: false, - passportData: mockPassportData_sha256WithRSAEncryption_65537, + passportData: mockPassportData_sha256_rsa_65537, secret: "", dscCertificate: null, cscaProof: null,