Sha256: 6e9074975bfa437dcb229a77629a56ff5c29324c1769eb80422be672de245b81

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module Lightning
  module Onion
    module FailureMessages
      module PermanentNodeFailure
        def to_payload
          [TYPES[:permanent_node_failure]].pack('n')
        end

        def self.load(payload)
          PermanentNodeFailure
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lightning-onion-0.2.10 lib/lightning/onion/failure_messages/permanent_node_failure.rb
lightning-onion-0.2.9 lib/lightning/onion/failure_messages/permanent_node_failure.rb
lightning-onion-0.2.8 lib/lightning/onion/failure_messages/permanent_node_failure.rb