@@ -13,11 +13,8 @@ pub enum LdkLiteError {
1313 AlreadyRunning ,
1414 /// Returned when trying to stop LdkLite while it is not running.
1515 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 ,
2118 /// A network connection has been closed.
2219 ConnectionFailed ,
2320 /// Payment of the given invoice has already been intiated.
@@ -49,8 +46,7 @@ impl fmt::Display for LdkLiteError {
4946 match * self {
5047 LdkLiteError :: AlreadyRunning => write ! ( f, "LDKLite is already running." ) ,
5148 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" ) ,
5450 LdkLiteError :: ConnectionFailed => write ! ( f, "network connection closed" ) ,
5551 LdkLiteError :: NonUniquePaymentHash => write ! ( f, "an invoice must not get payed twice." ) ,
5652 LdkLiteError :: PeerInfoParse ( ref e) => write ! ( f, "given peer info could not be parsed: {}" , e) ,
0 commit comments