Module: Lightning::Onion::FailureMessages::RequiredNodeFeatureMissing

Defined in:
lib/lightning/onion/failure_messages/required_node_feature_missing.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.load(payload) ⇒ Object



11
12
13
# File 'lib/lightning/onion/failure_messages/required_node_feature_missing.rb', line 11

def self.load(payload)
  RequiredNodeFeatureMissing
end

Instance Method Details

#to_payloadObject



7
8
9
# File 'lib/lightning/onion/failure_messages/required_node_feature_missing.rb', line 7

def to_payload
  [TYPES[:required_node_feature_missing]].pack('n')
end