@@ -13,11 +13,8 @@ pub enum LdkLiteError {
13
13
AlreadyRunning ,
14
14
/// Returned when trying to stop LdkLite while it is not running.
15
15
NotRunning ,
16
- /// An input of the funding transaction tried spending a non-SegWit output. This should never happen, but
17
- /// better safe than sorry..
18
- FundingTxNonWitnessOuputSpend ,
19
- /// The funding transaction could not be finalized.
20
- FundingTxNotFinalized ,
16
+ /// The funding transaction could not be created.
17
+ FundingTxCreationFailed ,
21
18
/// A network connection has been closed.
22
19
ConnectionFailed ,
23
20
/// Payment of the given invoice has already been intiated.
@@ -49,8 +46,7 @@ impl fmt::Display for LdkLiteError {
49
46
match * self {
50
47
LdkLiteError :: AlreadyRunning => write ! ( f, "LDKLite is already running." ) ,
51
48
LdkLiteError :: NotRunning => write ! ( f, "LDKLite is not running." ) ,
52
- LdkLiteError :: FundingTxNonWitnessOuputSpend => write ! ( f, "an input of the funding transaction tried spending a non-SegWit output, which is insecure" ) ,
53
- LdkLiteError :: FundingTxNotFinalized => write ! ( f, "the funding transaction could not be finalized" ) ,
49
+ LdkLiteError :: FundingTxCreationFailed => write ! ( f, "the funding transaction could not be created" ) ,
54
50
LdkLiteError :: ConnectionFailed => write ! ( f, "network connection closed" ) ,
55
51
LdkLiteError :: NonUniquePaymentHash => write ! ( f, "an invoice must not get payed twice." ) ,
56
52
LdkLiteError :: PeerInfoParse ( ref e) => write ! ( f, "given peer info could not be parsed: {}" , e) ,
0 commit comments