From 8b93b680652d6783f6ff78a74833c1a2d18b6419 Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Wed, 28 Feb 2024 17:45:06 +0100 Subject: [PATCH] fix: wasm compile error --- moksha-wallet/src/error.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moksha-wallet/src/error.rs b/moksha-wallet/src/error.rs index 7ae02d78..9075fa04 100644 --- a/moksha-wallet/src/error.rs +++ b/moksha-wallet/src/error.rs @@ -1,7 +1,6 @@ use std::string::FromUtf8Error; use lightning_invoice::ParseOrSemanticError; -use sqlx::migrate::MigrateError; use thiserror::Error; #[derive(Error, Debug)] @@ -38,7 +37,7 @@ pub enum MokshaWalletError { #[cfg(not(target_arch = "wasm32"))] #[error("Migrate Error {0}")] - Migrate(#[from] MigrateError), + Migrate(#[from] sqlx::migrate::MigrateError), #[cfg(not(target_arch = "wasm32"))] #[error("Sqlite Error {0}")]