Module: Lightning::Onion::FailureMessages::IncorrectPaymentAmount
- Defined in:
- lib/lightning/onion/failure_messages/incorrect_payment_amount.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.load(_) ⇒ Object
11 12 13 |
# File 'lib/lightning/onion/failure_messages/incorrect_payment_amount.rb', line 11 def self.load(_) IncorrectPaymentAmount end |
Instance Method Details
#to_payload ⇒ Object
7 8 9 |
# File 'lib/lightning/onion/failure_messages/incorrect_payment_amount.rb', line 7 def to_payload [TYPES[:incorrect_payment_amount]].pack('n') end |