import { AirGapWallet } from '@airgap/coinlib-core' ; import { MnemonicSecret } from '../models/secret' ; export function isSecretMigrated ( secret ) { return secret . fingerprint && secret . wallets . every ( isWalletMigrated ) ; } export function isWalletMigrated ( wallet ) { return ! ! wallet . masterFingerprint ; }