lnwire: add constructor for FinalExpiryTooSoon failure message
This commit is contained in:
parent
10a655b6b1
commit
652ebb1652
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user