Skip to content

Commit 5eafd6c

Browse files
Add legacy_payment_store Cargo feature for compatibility testing
Introduces the optional `legacy_payment_store` feature to enable testing of legacy payment flows during the transition to `PaymentMetadata` for inbound payments. Issue #425
1 parent 48a760c commit 5eafd6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ panic = 'abort' # Abort on panic
2626

2727
[features]
2828
default = []
29+
legacy_payment_store = []
2930

3031
[dependencies]
3132
lightning = { version = "0.1.0", features = ["std"] }
@@ -129,4 +130,5 @@ check-cfg = [
129130
"cfg(tokio_unstable)",
130131
"cfg(cln_test)",
131132
"cfg(lnd_test)",
133+
"cfg(legacy_payment_store)",
132134
]

0 commit comments

Comments
 (0)