Sha256: 91e85fe1d966436c15e192102736f6280c936ea13412fddca488f39306256694

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

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

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