Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Commit

Permalink
Merge pull request #880 from MutinyWallet/add-inbound-to-wasm-channel
Browse files Browse the repository at this point in the history
Add inbound to wasm channel struct
  • Loading branch information
TonyGiorgio authored Nov 27, 2023
2 parents f21e5de + 5c390a1 commit 4f848ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mutiny-wasm/src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ pub struct MutinyChannel {
pub balance: u64,
pub size: u64,
pub reserve: u64,
pub inbound: u64,
outpoint: Option<String>,
peer: String,
pub confirmations_required: Option<u32>,
Expand Down Expand Up @@ -305,6 +306,7 @@ impl From<nodemanager::MutinyChannel> for MutinyChannel {
balance: m.balance,
size: m.size,
reserve: m.reserve,
inbound: m.inbound,
outpoint: m.outpoint.map(|o| o.to_string()),
peer: m.peer.to_hex(),
confirmations_required: m.confirmations_required,
Expand Down

0 comments on commit 4f848ee

Please sign in to comment.