diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 845d4aa03..b05a86524 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -25,7 +25,7 @@ jobs: include: - os: ubuntu-latest os-type: linux - - os: macos-latest + - os: macos-13 os-type: macos fail-fast: false runs-on: ${{ matrix.os }} diff --git a/apollo/src/appleMain/kotlin/io/iohk/atala/prism/apollo/derivation/Mnemonic.kt b/apollo/src/appleMain/kotlin/io/iohk/atala/prism/apollo/derivation/Mnemonic.kt index 2860a981b..28d674dc5 100644 --- a/apollo/src/appleMain/kotlin/io/iohk/atala/prism/apollo/derivation/Mnemonic.kt +++ b/apollo/src/appleMain/kotlin/io/iohk/atala/prism/apollo/derivation/Mnemonic.kt @@ -12,6 +12,7 @@ final class Mnemonic { return MnemonicHelper.createRandomMnemonics() } + @Throws(MnemonicHelper.Companion.InvalidMnemonicCode::class) fun createSeed(mnemonics: List, passphrase: String = "AtalaPrism"): ByteArray { return MnemonicHelper.createSeed(mnemonics.toList(), passphrase) }