Sha256: 9a7e785fe416571a7c3915c628b69abad07fc343f4abdfff8661d598ddcb1473

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

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

        def self.load(payload)
          TemporaryNodeFailure
        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/temporary_node_failure.rb
lightning-onion-0.2.9 lib/lightning/onion/failure_messages/temporary_node_failure.rb
lightning-onion-0.2.8 lib/lightning/onion/failure_messages/temporary_node_failure.rb