Skip to content

Commit 9c028fb

Browse files
committed
fixup! added Eclair node support
extended comment
1 parent be85f5b commit 9c028fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

simln-lib/src/eclair.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ impl LightningNode for EclairNode {
191191
let payment_outcome = match payment.status.r#type {
192192
PaymentStatus::Pending => continue,
193193
PaymentStatus::Sent => PaymentOutcome::Success,
194-
// Task: https://github.com/bitcoin-dev-project/sim-ln/issues/26#issuecomment-1691780018
194+
// PaymentStatus::Failed means API call failed (can happen for various reasons).
195+
// Task to improve it: https://github.com/bitcoin-dev-project/sim-ln/issues/26#issuecomment-1691780018
195196
PaymentStatus::Failed => PaymentOutcome::UnexpectedError,
196197
};
197198

0 commit comments

Comments
 (0)