routing: add new error for failed funding tx validation
In this commit we add a new error for when we fail to validate the funding transaction (invalid script, etc) and mark it as a zombie like the other failed validation cases.
This commit is contained in:
3 files changed
+59
-32
No files matched your search
@@ -24,6 +24,10 @@ const (
|
||||
// ErrNoFundingTransaction is returned when we are unable to find the
|
||||
// funding transaction described by the short channel ID on chain.
|
||||
ErrNoFundingTransaction
|
||||
|
||||
// ErrInvalidFundingOutput is returned if the channle funding output
|
||||
// fails validation.
|
||||
ErrInvalidFundingOutput
|
||||
)
|
||||
|
||||
// routerError is a structure that represent the error inside the routing package,
|
||||
|
||||
Reference in new issue
Block a user