Skip to content

Commit 63d7777

Browse files
committed
fix payment direction always being inbound when listing payments with filter
1 parent e3142e2 commit 63d7777

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/src/ldk.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ impl From<ldk_node::PaymentDetails> for PaymentDetails {
218218
secret: value.secret.map(|x| PaymentSecret(x.0)),
219219
status: value.status.into(),
220220
amount_msat: value.amount_msat,
221-
direction: PaymentDirection::Inbound,
221+
direction: value.direction.into(),
222222
}
223223
}
224224
}
@@ -848,4 +848,4 @@ impl NodeBase {
848848
.map(|x| x.to_owned().into())
849849
.collect()
850850
}
851-
}
851+
}

0 commit comments

Comments
 (0)