From 6338b003fea8c43d15b9d66d83f8cb3a6386efa4 Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Fri, 7 Jun 2024 11:30:26 -0500 Subject: [PATCH] fix: from_seed_rejects_bad_prefix test --- .github/workflows/build.yaml | 2 +- src/xkeys.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 34a3122..bc1bbd6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,4 +30,4 @@ jobs: - name: Format check run: cargo fmt --all -- --check - name: Test - run: cargo test + run: cargo test --all-features diff --git a/src/xkeys.rs b/src/xkeys.rs index 914cc33..3b8b9aa 100644 --- a/src/xkeys.rs +++ b/src/xkeys.rs @@ -236,7 +236,7 @@ mod tests { #[test] fn from_seed_rejects_bad_prefix() { - let seed = "FAAPN4W3EG6KCJGUQTKTJ5GSB5NHK5CHAJL4DBGFUM3HHROI4XUEP4OBK4"; + let seed = "SZAIB67JMUPS5OKP6BZNCFTIMHOTS6JIX2C53TLSNEROIRFBJLSK3NUOVY"; let pair = XKey::from_seed(seed); assert!(pair.is_err()); if let Err(e) = pair {