Sha256: 388cddc81fa01dfca623db04b7b77c6821d512bb9beeeab7f01bfabe08d40a17

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

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

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