Skip to content

Commit

Permalink
f Remove PaymentResult from lib.rs
Browse files Browse the repository at this point in the history
I just removed it from `lib.rs` and re-exported it to
`uniffi_types.rs`
  • Loading branch information
slanesuke committed Jun 19, 2024
1 parent 3441f67 commit f85501c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ use graph::NetworkGraph;
use liquidity::LiquiditySource;
use payment::store::PaymentStore;
use payment::{
Bolt11Payment, Bolt12Payment, OnchainPayment, PaymentDetails, PaymentResult,
Bolt11Payment, Bolt12Payment, OnchainPayment, PaymentDetails,
SpontaneousPayment, UnifiedQrPayment,
};
use peer_store::{PeerInfo, PeerStore};
Expand Down
1 change: 1 addition & 0 deletions src/uniffi_types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub use crate::graph::{ChannelInfo, ChannelUpdateInfo, NodeAnnouncementInfo, NodeInfo};
pub use crate::payment::store::{LSPFeeLimits, PaymentDirection, PaymentKind, PaymentStatus};
pub use crate::payment::PaymentResult;

pub use lightning::events::{ClosureReason, PaymentFailureReason};
pub use lightning::ln::{ChannelId, PaymentHash, PaymentPreimage, PaymentSecret};
Expand Down

0 comments on commit f85501c

Please sign in to comment.