Sha256: e86ad9b79c826eaa1db052f456336c855fdeef40fabd8a919a64c9f925707328

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

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

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