Skip to content

Commit

Permalink
fix: wasm compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Feb 28, 2024
1 parent d66e71c commit 8b93b68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions moksha-wallet/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::string::FromUtf8Error;

use lightning_invoice::ParseOrSemanticError;
use sqlx::migrate::MigrateError;
use thiserror::Error;

#[derive(Error, Debug)]
Expand Down Expand Up @@ -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}")]
Expand Down

0 comments on commit 8b93b68

Please sign in to comment.