Sha256: cf287004eed3769c13e92a9ce53118dfbae513322a8977a0bff6c3c578572336
Contents?: true
Size: 326 Bytes
Versions: 2
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true module Lightning module Onion module FailureMessages module FinalIncorrectHtlcAmount def to_payload [type_code, incoming_htlc_amt].pack('nq>') end def self.load(payload) new(*payload.unpack('nq>')) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lightning-onion-0.2.6 | lib/lightning/onion/failure_messages/final_incorrect_htlc_amount.rb |
lightning-onion-0.2.5 | lib/lightning/onion/failure_messages/final_incorrect_htlc_amount.rb |