lib/lightning/onion/failure_messages/invalid_realm.rb in lightning-onion-0.2.6 vs lib/lightning/onion/failure_messages/invalid_realm.rb in lightning-onion-0.2.8

- old
+ new

@@ -3,14 +3,14 @@ module Lightning module Onion module FailureMessages module InvalidRealm def to_payload - [type_code].pack('n') + [TYPES[:invalid_realm]].pack('n') end - def self.load(payload) - new(*payload.unpack('n')) + def self.load(_) + InvalidRealm end end end end end