Module: Lightning::Onion::FailureMessages::ExpiryTooFar
- Defined in:
- lib/lightning/onion/failure_messages/expiry_too_far.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.load(payload) ⇒ Object
11 12 13 |
# File 'lib/lightning/onion/failure_messages/expiry_too_far.rb', line 11 def self.load(payload) ExpiryTooFar end |
Instance Method Details
#to_payload ⇒ Object
7 8 9 |
# File 'lib/lightning/onion/failure_messages/expiry_too_far.rb', line 7 def to_payload [TYPES[:expiry_too_far]].pack('n') end |