Sha256: d8d73473820c45f1c167b8e2c270c4ef30f9e9f5ca63fd34ba26c56f647cc21e

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

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

        def self.load(_)
          UnknownPaymentHash
        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_payment_hash.rb
lightning-onion-0.2.9 lib/lightning/onion/failure_messages/unknown_payment_hash.rb
lightning-onion-0.2.8 lib/lightning/onion/failure_messages/unknown_payment_hash.rb