mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
lnwire: add constructor for FinalExpiryTooSoon failure message
This commit is contained in:
@@ -409,6 +409,11 @@ func (f FailFinalExpiryTooSoon) Error() string {
|
|||||||
return f.Code().String()
|
return f.Code().String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewFinalExpiryTooSoon creates new instance of the FailFinalExpiryTooSoon.
|
||||||
|
func NewFinalExpiryTooSoon() *FailFinalExpiryTooSoon {
|
||||||
|
return &FailFinalExpiryTooSoon{}
|
||||||
|
}
|
||||||
|
|
||||||
// FailInvalidOnionVersion is returned if the onion version byte is unknown.
|
// FailInvalidOnionVersion is returned if the onion version byte is unknown.
|
||||||
//
|
//
|
||||||
// NOTE: May be returned only by intermediate nodes.
|
// NOTE: May be returned only by intermediate nodes.
|
||||||
|
Reference in New Issue
Block a user